开发者

UIActionSheet orientation

Is there any way to set the orientation of the UIActionSheet programatically? My iPhone orientation is Portrait, but the UIActionSheet need t开发者_高级运维o be Landscape. Can this be done?

Edit:

So my problem is that I don't want to rotate the rootviewcontroller to landscape mode, only the UIActionSheet. So is this possible somehow?


So I added a view to my view in which I want to display the UIActionSheet, then rotated the added view and then added the UIActionSheet in this view.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜