Problem with Objective C UITabBar at bottom of Screen
When poping up an UIAction Sheet infront of a UITabBar I had some problems getting the buttons to correctly react to presses.
The reason for this turned out to be with the UITabBar having the a listener that was a higher priority than the button on the UIActionSheet.
To solve this you have to add the action sheet to the appDelegate like so:
[myActionSheet showInView appDelegate.window];
Related Posts
Posted on July 22, 2009 at 2:10 pm by Alastair Munro · Permalink
In: Iphone · Tagged with: iPhone, Objective C
In: Iphone · Tagged with: iPhone, Objective C
on February 27, 2010 at 4:49 am
Permalink
perhaps a better solution if the code is in a viewcontroller (though with the same result) is: