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 (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/luketheh%40apple.com
This email sent to luket...@apple.com
_______________________________________________
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