获取设备实际宽度

UIScreen.mainScreen().coordinateSpace.bounds.width  

bounds在iOS8之前一直是320

如有疑问,共同探讨,共同进步。
原文地址:https://www.cnblogs.com/nielsen/p/5044344.html