Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示按钮可不可以增加一个图片的属性,按钮上需要放置一个箭头小图标 #62

Open
CoderWeiLee opened this issue May 21, 2020 · 1 comment

Comments

@CoderWeiLee
Copy link

No description provided.

@zhenhuamu
Copy link

No description provided.
目前可以重写setupSubviews,这样解决
(void)setupSubviews{
[super setupSubviews];
/// 获取底部按钮,添加背景视图
for (UIView *subView in self.contentView.subviews) {
if ([subView isKindOfClass:UIButton.class]) {
UIButton * button = (UIButton *)subView;
[button setImage:[UIImage imageNamed:@"certificate_btn_right"] forState:UIControlStateNormal];
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants