Strange problem with UIButton in bar button item
Strange problem with UIButton in bar button item
- Subject: Strange problem with UIButton in bar button item
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 19 Sep 2012 00:36:20 -0700
I'm finding another weird problem. This is only happening on the iPad, not the iPhone. I placed a UIView inside the left and right bar button items. Inside both views are a UIImageView and a UIButton. They are almost identical. I just went for the 100th time checked all attributes of each button.
My problem is that when I tap the left UIButton, it will not detect the touch inside unless I tap on its far left side. Tapping in the middle or on the right side of the button doesn't trigger the tap. I just can't understand. I have a similar setup in my iPhone storyboard and the left button in the left bar button item will detect the tap no matter where I tap the button.
Has anybody ever seen something like this? I completely removed the left bar button item and added a new one, with a view inside that contains the UIImageView and the UIButton. All reconfigured. Same result.
Anybody has any idea? Is the left bar button item on the iPad something special?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden