[_loginButton setBackgroundImage:[UIImage imageNamed:@"login_icon.png"] forState:UIControlStateNormal];
[_loginButton addTarget:self action:@selector(userLogin) forControlEvents:UIControlEventTouchUpInside];
ios 设置按钮背景 及绑定事件
最新推荐文章于 2019-08-20 15:53:34 发布