fff
#import <UIKit/UIKit.h> @interface Button_FunViewController : UIViewController { IBOutlet UILabel *statusText; //输出口 } @property (nonatomic,retain) IBOutlet UILabel *statusText; -(IBAction)buttonPress:(id)sender;//传递到操作方法中的参数是调用它的控件或对象 @end
#import <UIKit/UIKit.h> @interface Button_FunViewController : UIViewController { IBOutlet UILabel *statusText; //输出口 } @property (nonatomic,retain) IBOutlet UILabel *statusText; -(IBAction)buttonPress:(id)sender;//传递到操作方法中的参数是调用它的控件或对象 @end