imageView 的高亮状态

来源:互联网 发布:javascript数组排序 编辑:程序博客网 时间:2024/05/18 06:19


imageView 可以设置高亮状态,若是设置 imageView 的高亮状态

@property (nullable, nonatomic, strong) UIImage *highlightedImage NS_AVAILABLE_IOS(3_0); // default is nil

@property (nonatomic, getter=isHighlighted) BOOL highlighted NS_AVAILABLE_IOS(3_0); // default is NO


就是设置 highlighted = YES;

0 0
原创粉丝点击