[[UIScreen mainScreen] bounds].size.width
[[UIScreen mainScreen] bounds].size.height
得到屏幕的宽高,然后将变量写入CGRectmake
[[UIScreen mainScreen] bounds].size.width
[[UIScreen mainScreen] bounds].size.height
得到屏幕的宽高,然后将变量写入CGRectmake
转载于:https://www.cnblogs.com/guanliyang/p/3792595.html