iPhone SDK: Add UIBarButtonItem action programmaticly
- by TutorialPoint
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