#define GZDeviceWidth ([UIScreen mainScreen].bounds.size.width) #define GZDeviceHeight ([UIScreen mainScreen].bounds.size.height) //引用GZDeviceWidth 即为当前屏幕实际宽 //引用GZDeviceHeight 即为当前屏幕实际高
#define GZDeviceWidth ([UIScreen mainScreen].bounds.size.width) #define GZDeviceHeight ([UIScreen mainScreen].bounds.size.height) //引用GZDeviceWidth 即为当前屏幕实际宽 //引用GZDeviceHeight 即为当前屏幕实际高
转载于:https://www.cnblogs.com/gaozhang12345/p/7693469.html