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.
精彩评论