Commit 020b2aceb3ef157205b7e98d109a49c93ea0f7e4
1 parent
5f31e58f
0.5.5
Showing
2 changed files
with
11 additions
and
1 deletions
CNLiveEnvironment.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveEnvironment' | 10 | s.name = 'CNLiveEnvironment' |
| 11 | - s.version = '0.5.4' | 11 | + s.version = '0.5.5' |
| 12 | s.summary = 'CNLiveEnvironment' | 12 | s.summary = 'CNLiveEnvironment' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| @@ -161,6 +161,16 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | @@ -161,6 +161,16 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | ||
| 161 | + (void)setEnvironment:(CNLiveEnvironmentType)environmentType isNewHomePage:(BOOL)isNewHomePage; | 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 | * @abstract 初始化企业端直播配置 | 174 | * @abstract 初始化企业端直播配置 |
| 165 | * @param environmentType 环境 | 175 | * @param environmentType 环境 |
| 166 | * @warning 必传参数 | 176 | * @warning 必传参数 |