iPhone SDK: Add UIBarButtonItem action programmaticly

Posted by TutorialPoint on Stack Overflow See other posts from Stack Overflow or by TutorialPoint
Published on 2010-02-14T13:35:42Z Indexed on 2010/03/30 3:03 UTC
Read the original article Hit count: 986

Hello,

I have several UIBarButtonItems, and I want to set the action when you press it programmaticly. How can I do this? Please give in-depth instructions since i just started to work with the SDK.

EDIT: if it would be possible non-programmaticly, please also reply :)

The action is going to Google.com, and the button is the search button in this project: (download): click here

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.1.3

Related posts about uibarbuttonitem