Commit 020b2aceb3ef157205b7e98d109a49c93ea0f7e4
1 parent
5f31e58f
0.5.5
Showing
2 changed files
with
11 additions
and
1 deletions
CNLiveEnvironment.podspec
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| ... | ... | @@ -161,6 +161,16 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { |
| 161 | 161 | + (void)setEnvironment:(CNLiveEnvironmentType)environmentType isNewHomePage:(BOOL)isNewHomePage; |
| 162 | 162 | |
| 163 | 163 | /** |
| 164 | + * @abstract 初始化元码配置 | |
| 165 | + * @param environmentType 环境 | |
| 166 | + * @warning 必传参数 | |
| 167 | + * 在默认DEBUG环境下为测试商店版,建议使用如下方法初始化. | |
| 168 | + * 在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用 | |
| 169 | + */ | |
| 170 | ++ (void)setMetaCodeEnvironment:(CNLiveEnvironmentType)environmentType; | |
| 171 | + | |
| 172 | + | |
| 173 | +/** | |
| 164 | 174 | * @abstract 初始化企业端直播配置 |
| 165 | 175 | * @param environmentType 环境 |
| 166 | 176 | * @warning 必传参数 | ... | ... |