开发者

segment control + navigation bar in objective c

开发者 https://www.devze.com 2023-01-26 09:40 出处:网络
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

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;

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号