here in my application i want to add barbuttonitem in tab bar.
i displayed tab bar in view but i dont no how to add barbuttonitem programmaticaly in iphone.
can any one plz give me information about my problem.
thank you in advance..
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.
You can not add bar button items to tab bar.
To add bar button item to a toolbar
//Create a BarButtonItem configure the way you want.
// Create an array for all the bar buttons
// Set toolar items
// add items to toolbar
EDIT
In case you want to add space between BarButtonItems