I struggled this too, but without solution. It seems that toolbar 'buttons' 
aren't real buttons -- they're class UIBarButtonItem from UIBarItem from 
NSObject. Since they're not really buttons, there doesn't appear any way to 
modify their behavior. If there is a way, I'd like to know, too...




________________________________
From: Jonathon Kuo <newsli...@autonomy.caltech.edu>
To: Cocoa-Dev List <cocoa-dev@lists.apple.com>
Sent: Fri, November 12, 2010 10:02:15 AM
Subject: [iPhone] Toolbar button and "Touch Down"

I'm doing an iPhone 4.1 app and I have a toolbar at the bottom with bar 
buttons. 
The problem is that I need to set one of the bar buttons to "Touch Down" 
instead 
of the default "Touch Up Inside" but IB doesn't show any touch options for 
toolbar buttons (it does for buttons not in the toolbar).

Is there a programmatic way to set this?
Thx

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/rf_egr%40yahoo.com

This email sent to rf_...@yahoo.com



      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to