I have a tab bar controller with 3 tabs. In one of the tabs, the view is a uiviewcontroller. I wish to add a button inside the view so when I click into the tab the button is displayed. How can I do this without the interface builder???
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your view controller,
Then you need to implement the buttonPushed method to do whatever the button is supposed to do.