when an action sheet is visible in a mode, should it rotate in the other one?
Hi all,
I have an app that supports both orientations. When an action sheet is displayed in portrait mode, the view doesn't rotate in landscape mode. Should it be so? or normally the view should rotate and the action sheet resize?
I have an app that supports both orientations. When an action sheet is displayed in portrait mode, the view doesn't rotate in landscape mode. Should it be so? or normally the view should rotate and the action sheet resize?
Thank you in advance.
Fran
Depends on what orientations you coded your app to be viewed. What mail app? What device? Your question is quite vague. Explain what you want to do and show the code you have so far. If you have the shouldAutoRotateToDeviceOrientation method set to return YES, it should rotate with the view.
iPhone or iPad? as the action sheet's are different.
I have an action sheet in my iPad app and it rotates with my view. However I just discovered a small bug in it, when rotating the cancel button disappears, you can still just press outside of the action sheet to cancel so it is not a huge deal.
Depends on what orientations you coded your app to be viewed. What mail app? What device? Your question is quite vague. Explain what you want to do and show the code you have so far. If you have the shouldAutoRotateToDeviceOrientation method set to return YES, it should rotate with the view.
Sorry... my second post was the answer I found.
I have an iPhone app that works in both orientations. When an action sheet becomes visible, it doesn't rotate by changing the orientation.
I tried with the Apple Mail app (that works in both orientations) and when an action sheet is visible, it doesn't rotate, so I think this is the "right" behaviour.
Sorry... my second post was the answer I found.
I have an iPhone app that works in both orientations. When an action sheet becomes visible, it doesn't rotate by changing the orientation.
I tried with the Apple Mail app (that works in both orientations) and when an action sheet is visible, it doesn't rotate, so I think this is the "right" behaviour.
Look at the showInView line for your actionSheet in your action methods. If you use the showFromBarButtonItem, you can manipulate the orientations (NOTE* this probably isn't allowed on the iPhone due to limited screen real estate and probably won't work). In the iPad, the barButton works great and you place it to view in 'any'. I've never tried this style with the iPhone, so give it a shot and let us know.
Look at the showInView line for your actionSheet in your action methods. If you use the showFromBarButtonItem, you can manipulate the orientations (NOTE* this probably isn't allowed on the iPhone due to limited screen real estate and probably won't work). In the iPad, the barButton works great and you place it to view in 'any'. I've never tried this style with the iPhone, so give it a shot and let us know.
Good luck.
I use [actionSheet showInView:self.view]. I don't understand how I can use the showFromBarButtonItem, 'cause I have not an UIBarBottonItem. Do I miss something?