iOS UIButton 属性与方法
ViewController 接口定义
@interface ViewController ()
// 头像按钮
@property (nonatomic, weak) IBOutlet UIButton *head;
// 移动按钮点击事件
- (IBAction)move:(UIButton *)btn;
// 放大按钮点击事件
- (IBAction)big;
// 缩小按钮点击事件
- (IBAction)small;
@end
131.44KB
文件大小:
评论区