开发者

iOs View orientation

I use in my app MailCompo开发者_Go百科ser 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.

P.S. 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;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜