Re: [iPhone] Toolbar button and "Touch Down"
Re: [iPhone] Toolbar button and "Touch Down"
- Subject: Re: [iPhone] Toolbar button and "Touch Down"
- From: Dave DeLong <email@hidden>
- Date: Tue, 16 Nov 2010 10:29:31 -0700
Which means you'd probably have to do it programmatically, or just have an IBOutlet to the UIButton inside the UIBarButtonItem.
Dave
On Nov 16, 2010, at 10:26 AM, Jonathon Kuo wrote:
> On Nov 16, 2010, at 9:12 AM, Matt Neuburg wrote:
>
>> On Mon, 15 Nov 2010 10:02:44 -0800, Jonathon Kuo <email@hidden> said:
>>> Interesting idea, probably a little beyond me. :)
>>
>> Nonsense. This is perfectly standard and easy. A UIButton can send an action message on TouchDown. It makes no difference that the UIButton is inside a UIBarButton. How much plainer can it be? m.
>
> I agree: that's how I expected it to work, too, but that's not how it does work (Xcode 3.2.4). If I drag a Round Rect Button onto the Toolbar, it instantly gets promoted to a UIBarButtonItem (really!), and I can't set "Touch Down" on it, nor can I change the class of it in IB. That's why I'm confused...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden