[英]iOs View orientation
我在我的应用程序MailComposer中使用,如果它在纵向模式下激活,则可以正常工作,但是如果在横向模式下激活,则只能看到灰屏。
PS应该AutorotateToInterfaceOrientation返回总是YES
我已经在我的应用程序中实现了邮件编辑器,并且在两个方向都可以正常工作,只需检查此方法即可
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Overriden to allow any orientation.
return YES;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.