阅读背景:

阻止用户在横向中查看某些视图

来源:互联网 

I've had to allow landscape orientation in all my views because one of them needs to handle landscape orientation and my app is a tabbar based iphone app. Now some views are obviously showing ugly when device is in landscape mode. I'm thinking of subclassing UIView and use the subclass to show a "warning" screen when user is not in a portrait mode in some views. Any idea on what could be of best practices about it ?I've had to allow landscape orientation in all




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: