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