segment control + navigation bar in objective c
I am new to i-phone development and right now working in an appl开发者_如何学Pythonication where i need to use the segment control within a navigation based application. I have a segment control with two indexes,on clicking on each,the table view should be loaded with different data.
My problem is that even after initializing the segment control and also after setting the property and synthesizing,it is not displaying the segment control in my connection window,and hence i cant set the connection of the same with segment controller.
UISegmentedControl *segmentedControl;
@property(nonatomic,retain) UISegmentedControl *segmentedControl;
@synthesize segmentedControl
Can anybody guide me,where i am making a mistake? Thank you in advance.
@property(nonatomic,retain) IBOutlet UISegmentedControl *segmentedControl;
精彩评论