h1

Strange Behaviour of Cancel Button

oktober 18, 2010

If you call UIActionSheet’s [sheet showInView:self.view] from a view controller that is a child of a UITabViewController, then the hit testing on the cancel button fails in that portion of the UIActionSheet that lies above the tabbar’s view.

If you instead pass in the UITabBarController’s view, then the UIActionSheet acts as expected.

[sheet showInView:self.parentViewController.tabBarController.view];

//JFR

Lämna en kommentar

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Logga ut / Ändra )

Twitter-bild

You are commenting using your Twitter account. Logga ut / Ändra )

Facebook-foto

You are commenting using your Facebook account. Logga ut / Ändra )

Ansluter till %s

Follow

Get every new post delivered to your Inbox.