[英]iPhone:Device Orientation problem
HI in my iPHone App I facing problem for the device orientation嗨,在我的 iPhone 应用程序中,我面临设备方向问题
screen 1屏幕 1
now On click of next button, it is displaying screen2 that is fine现在点击下一个按钮,它显示screen2很好
screen 2
屏幕 2
now clicking on back when I can return to original screen it is not showing properly现在当我可以返回原始屏幕时单击返回它没有正确显示
what could be the problem?可能是什么问题呢? how can I solve it?
我该如何解决?
ViewController responsible for view that have Place and Food fields should have method: ViewController 负责具有 Place 和 Food 字段的视图应该有方法:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.