Re: Strange problem with UIButton in bar button item
Re: Strange problem with UIButton in bar button item
- Subject: Re: Strange problem with UIButton in bar button item
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 19 Sep 2012 08:07:36 -0700
Hey Alex. It was added to my iPad storyboard. I've been working for almost 20 years with Interface Builder. I've never seen anything like this and it doesn't seem to matter how many times I reconstruct the button, it still won't detect taps.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
On Sep 19, 2012, at 06:42, Alex Zavatone <email@hidden> wrote:
> I've seen this last week in fact to when adding a Nav bar button item and only on the iPad.
>
> Did you add it in a storyboard, or in code?
>
>
>
> On Sep 19, 2012, at 3:36 AM, Laurent Daudelin wrote:
>
>> 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.
_______________________________________________
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