1. 获取当前屏幕的宽
[[UIScreen mainScreen] bounds].size.width
self.view.bounds.size.width
2. 获取当前屏幕的高
self.view.bounds.size.height
1. 获取当前屏幕的宽
[[UIScreen mainScreen] bounds].size.width
self.view.bounds.size.width
2. 获取当前屏幕的高
self.view.bounds.size.height