We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前的方法是:
self.imageView.image = [UIImage ax_imageWithColor:axColor.theme size:self.imageView.frame.size alpha:1];
每次都要输入size和alpha很麻烦。
理想的方法应该是:
self.imageView = [UIImageView ax_imageViewWithColor:axColor.theme];
The text was updated successfully, but these errors were encountered:
现在可以这样做:
[self.imageView ax_fillWithColor:axColor.theme];
Sorry, something went wrong.
在0.0.7及以后版本,依然可以这样,不过这两个方法成为了UIView的扩展
[self.imageView ax_fillWithColor:axColor.theme]; [self.imageView ax_fillWithRandomColor];
也就意味着所有的视图控件都可以使用这两个方法快速设置背景色。
No branches or pull requests
目前的方法是:
每次都要输入size和alpha很麻烦。
理想的方法应该是:
self.imageView = [UIImageView ax_imageViewWithColor:axColor.theme];
The text was updated successfully, but these errors were encountered: