配置化json strings
This commit is contained in:
@@ -188,7 +188,11 @@
|
||||
if (idx < 0 || idx >= self.skins.count) return;
|
||||
NSDictionary *skin = self.skins[idx];
|
||||
if (!skin) return;
|
||||
[[KBSkinService shared] applySkinWithJSON:skin fromViewController:self completion:nil];
|
||||
// 默认按远程 Zip 模式测试;如需本地 bundle,请改为 KBSkinSourceModeLocalBundleZip。
|
||||
[[KBSkinService shared] applySkinWithJSON:skin
|
||||
fromViewController:self
|
||||
mode:KBSkinSourceModeLocalBundleZip
|
||||
completion:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user