获取屏幕高
let screenHeight = UIScreen.mainScreen().bounds.size.height
获取屏幕宽
let screenWidth = UIScreen.mainScreen().bounds.size.width
获取屏幕高
let screenHeight = UIScreen.mainScreen().bounds.size.height
获取屏幕宽
let screenWidth = UIScreen.mainScreen().bounds.size.width
转载于:https://my.oschina.net/u/587148/blog/400004