Re: [iPhone] Action sheet on ViewDidLoad
Re: [iPhone] Action sheet on ViewDidLoad
- Subject: Re: [iPhone] Action sheet on ViewDidLoad
- From: Luke the Hiesterman <email@hidden>
- Date: Fri, 7 Aug 2009 06:49:58 -0700
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
./Sven
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden