[super viewDidLoad];
// Do any additional setup after loading the view.
if (INTERFACE_IS_IPHONE5) {
CGPoint center = _canvas.center;
CGRect frame = _canvas.frame;
frame.size.width = frame.size.height = 568;
_canvas.frame = frame;
_canvas.center = center;
}
旋转屏幕时,图像不显示iPhone的全宽。我认为视图中的这行代码确实加载了它。尝试更新iPhone 6和6 Plus的应用程序。有什么想法吗?