初始化方法 initWithName 找出制定名字的数据在assets.xcassets 注:data类型
- (instancetype)initWithName:(NSString *)name bundle:(NSBundle *)bundle;
找出制定名字的数据在assets.xcassets的指定bundle中
访问数据
@property(nonatomic, readonly, copy) NSData *data;
@property(nonatomic, readonly, copy) NSString *name;
@property(nonatomic, readonly, copy) NSString *typeIdentifier;
本文介绍了一种初始化方法initWithName,用于从assets.xcassets中查找指定名称的数据,并提供了访问这些数据的方法,如获取数据本身及其类型标识。
10

被折叠的 条评论
为什么被折叠?



