On Fri, 7 Aug 2009, Luke the Hiesterman wrote:

My advise is just to use viewDidAppear: - the problem is probably rooted in showing an action sheet on a view that isn't yet onscreen - when it gets displayed, adjustments might have to be made which push it off the bottom of the screen.

Luke

On Aug 6, 2009, at 10:54 PM, Sven wrote:

Hello,

I have a view with a toolbar in which I show an action sheet in viewDidLoad. When the view loads however the action sheet sits slightly too high, revealing about 20-30 pixels of the toolbar at the bottom.

If I show the action sheet from a button press in the same view however, it's perfectly aligned to the bottom. Is showing an actionsheet in viewDidLoad a bit too premature for everything to align correctly or is it something else that I'm doing wrong?
This happens both on the simulator and device.


thanks for the reply. I forgot to say that I also tried to do this in viewDidLoad for exactly that reason. Same result wich surprised me. So far the only way I managed to get it to work correctly is to show the action sheet via a button press in that view. Perhaps I will have another look at the code to make sure I wasn't imagining things.

./Sven
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to