Hi! All.
I an a new in XCode and iphone.
I am facing a problem while trying to add bar button and Segment control to my NavigationContr oller.
I have 4 nib files in my application.
I had added the Navigation controller to my MainWindow.xib file.
Then I had added a Bar button and Segment control on it.
So it is displaying on my first View while I run the application.
But when I move to other views I am not able to see those controls.
I have write one line of code for displaying edit button on navigation control.
is there any code which I have to include in my viewDidLoad event for getting the barButton and Segment Control?
Thank you in Advance.
I an a new in XCode and iphone.
I am facing a problem while trying to add bar button and Segment control to my NavigationContr oller.
I have 4 nib files in my application.
I had added the Navigation controller to my MainWindow.xib file.
Then I had added a Bar button and Segment control on it.
So it is displaying on my first View while I run the application.
But when I move to other views I am not able to see those controls.
I have write one line of code for displaying edit button on navigation control.
Code:
self.navigationItem.rightBarButtonItem = self.editButtonItem;
Thank you in Advance.