use*_*743 3 iphone objective-c ios xcode4 ios6
我在界面构建器中创建了一个分段控件.
在我的ViewController.h中:
@interface ViewController : UIViewController <MKMapViewDelegate>
@property IBOutlet UISegmentedControl *Segment;
- (IBAction)switchMode:(id)sender;
@end
Run Code Online (Sandbox Code Playgroud)
我能做的是将分段控制与IBAction连接,但我无法将其与IBOutlet连接!
@property(nonatomic,retain) IBOutlet UISegmentedControl *Segment;
连接已建立
归档时间: |
|
查看次数: |
1719 次 |
最近记录: |