首页 > 代码库 > [UIScreen mainScreen].applicationFrame与[UIScreen mainScreen].bounds区别

[UIScreen mainScreen].applicationFrame与[UIScreen mainScreen].bounds区别

[UIScreen mainScreen].applicationFrame与[UIScreen mainScreen].bounds区别:

applicationFrame会自动判断是否存在状态栏,其值为{0,0},{320,480}或 {0,20},{320,480} 

bounds不会自动判断,值永远为{0,0},{320,480}