不管什么模拟器或者是真机,打印的self.view.frame.size始终是375*667!求解答
伊谢尔伦2017-04-17 17:50:26
Did the view not perform automatic layout when printing? Generally, it is more reliable to use the following two macros before automatic layout
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height
#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
怪我咯2017-04-17 17:50:26
Is this true even at the resolution of 4S? Or is this also the case on 6 Plus?
If it is this resolution on 6 Plus, have you added a 5.5-inch startup image, for example, it looks like this: