2
This commit is contained in:
@@ -30,6 +30,7 @@ typedef void (^KBSkinInstallConsumeCompletion)(BOOL success, NSError * _Nullable
|
||||
@property (nonatomic, copy) NSString *name;
|
||||
@property (nonatomic, copy, nullable) NSString *previewImage;
|
||||
@property (nonatomic, copy, nullable) NSString *zipURL;
|
||||
@property (nonatomic, strong, nullable) NSDictionary *themeJSON;
|
||||
@property (nonatomic, assign) NSTimeInterval installedAt;
|
||||
@end
|
||||
|
||||
@@ -76,7 +77,12 @@ typedef void (^KBSkinInstallConsumeCompletion)(BOOL success, NSError * _Nullable
|
||||
+ (void)recordInstalledSkinWithId:(NSString *)skinId
|
||||
name:(NSString *)name
|
||||
preview:(nullable NSString *)preview
|
||||
zipURL:(nullable NSString *)zipURL;
|
||||
zipURL:(nullable NSString *)zipURL
|
||||
themeJSON:(nullable NSDictionary *)themeJSON;
|
||||
|
||||
/// 重新应用现有皮肤(从 App Group 读取主题配置与背景图)。
|
||||
+ (BOOL)applyInstalledSkinWithId:(NSString *)skinId
|
||||
error:(NSError * _Nullable __autoreleasing *)error;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user