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.
PS shouldAutorotateToInterfaceOrientation return always 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;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.