Commit 3bab62e6b82284faf89f36eb156a28bd3f46da48
1 parent
f9ede31b
更改取标题方式
Showing
2 changed files
with
2 additions
and
2 deletions
CNLiveCServiceModule/Classes/Present/CNLiveServicePresent.m
| @@ -112,7 +112,7 @@ static const CGFloat margin = 15; | @@ -112,7 +112,7 @@ static const CGFloat margin = 15; | ||
| 112 | CNLiveSearchHotsModel *serviceModel = nil; | 112 | CNLiveSearchHotsModel *serviceModel = nil; |
| 113 | CGFloat cellheight = 0; | 113 | CGFloat cellheight = 0; |
| 114 | NSInteger showNum = 0; | 114 | NSInteger showNum = 0; |
| 115 | - NSString *title = dic[@"name"]; | 115 | + NSString *title = dic[@"category"][@"title"]; |
| 116 | NSString *subTitle = @""; | 116 | NSString *subTitle = @""; |
| 117 | CGSize itemSize = CGSizeMake(0, 0); | 117 | CGSize itemSize = CGSizeMake(0, 0); |
| 118 | NSArray *lists = dic[@"list"]; | 118 | NSArray *lists = dic[@"list"]; |
Example/CNLiveCServiceModule/CNLIVEAppDelegate.m
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
| 19 | { | 19 | { |
| 20 | CNUserShareModel.uid = @"430783"; | 20 | CNUserShareModel.uid = @"430783"; |
| 21 | - [CNLiveEnvironmentManager setEnvironment:CNLiveDebugAppStore]; | 21 | + [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore]; |
| 22 | [BHContext shareInstance].application = application; | 22 | [BHContext shareInstance].application = application; |
| 23 | [BHContext shareInstance].launchOptions = launchOptions; | 23 | [BHContext shareInstance].launchOptions = launchOptions; |
| 24 | [BHContext shareInstance].moduleConfigName = @"CNLiveBeeHive.bundle/BeeHive.bundle/BeeHive"; | 24 | [BHContext shareInstance].moduleConfigName = @"CNLiveBeeHive.bundle/BeeHive.bundle/BeeHive"; |