[backImageView setUserInteractionEnabled:YES];//使添加其上的button有点击事件
[loginButton addTarget:self action:@selector(loginOrLogout) forControlEvents:UIControlEventTouchUpInside];
[backImageView addSubview:loginButton];
cos_sin_tan 博主文章分类:mac
文章标签 ide 点击事件 文章分类 JavaScript 前端开发
[backImageView setUserInteractionEnabled:YES];//使添加其上的button有点击事件
[loginButton addTarget:self action:@selector(loginOrLogout) forControlEvents:UIControlEventTouchUpInside];
[backImageView addSubview:loginButton];
上一篇:博客排名
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M