开发者

UIActionSheet orientation

开发者 https://www.devze.com 2022-12-15 06:22 出处:网络
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?

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

精彩评论

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