If one of your buttons is always hidden, why do you need two buttons? You can just use one button and change the title, target, and action when you need to. If necessary you can even replace the whole button.

Hank

On Aug 6, 2009, at 1:47 AM, Agha Khan wrote:

Hi:
I have a UINavigationBar where I would like to place 2 buttons. I was looking UINavigationBar.h for its implementation and didn't see the way we could add more than 2 buttons(Right hand side and left hand siderightBarButtonItem ) but my both buttons are rightBarButtonsItems where one of them is always hidden. I need 2 buttons because they point to 2 different click functions and different captions.


You might have better idea?

Best regards
Agha_______________________________________________

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/hank.list %40runbox.com

This email sent to hank.l...@runbox.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