Commit 47e05eb5 by MissYasiky

LIVE-000 使用初始化的昵称作为聊天室昵称 & 回放页打开方式适配 iOS 13

parent 0ca211c6
......@@ -135,7 +135,7 @@ RCT_EXPORT_METHOD(
liveVC.channelMenuInfo = channelMenuInfo;
// // 抽奖功能必须固定唯一的 nickName 和 userId,如果忘了填写上次的中奖信息,有固定的 userId 还会再次弹出相关填写页面
// liveVC.nickName = @"iOS user"; // 设置登录聊天室的用户名
liveVC.nickName = [PLVLiveVideoConfig sharedInstance].param2;//@"iOS user"; // 设置登录聊天室的用户名
// liveVC.avatarUrl = @"https://"; // 设置自定义聊天室用户头像地址
liveVC.modalPresentationStyle = UIModalPresentationFullScreen;
[viewController presentViewController:liveVC animated:YES completion:nil];
......@@ -155,7 +155,7 @@ RCT_EXPORT_METHOD(
liveVC.playAD = !liveing;
// // 抽奖功能必须固定唯一的 nickName 和 userId,如果忘了填写上次的中奖信息,有固定的 userId 还会再次弹出相关填写页面
// liveVC.nickName = @"iOS user"; // 设置登录聊天室的用户名
liveVC.nickName = [PLVLiveVideoConfig sharedInstance].param2;//@"iOS user"; // 设置登录聊天室的用户名
// liveVC.avatarUrl = @"https://"; // 设置自定义聊天室用户头像地址
liveVC.modalPresentationStyle = UIModalPresentationFullScreen;
[viewController presentViewController:liveVC animated:YES completion:nil];
......@@ -255,6 +255,7 @@ RCT_EXPORT_METHOD(
PLVVodViewController *vodVC = [PLVVodViewController new];
vodVC.vodType = vodType ? PLVVodViewControllerTypeCloudClass : PLVVodViewControllerTypeLive;
vodVC.channelMenuInfo = channelMenuInfo;
vodVC.modalPresentationStyle = UIModalPresentationFullScreen;
[viewController presentViewController:vodVC animated:YES completion:nil];
resolve(@[@(PolyvCloudClassError_Success)]);
......@@ -269,6 +270,7 @@ RCT_EXPORT_METHOD(
PLVVodViewController *vodVC = [PLVVodViewController new];
vodVC.vodType = vodType ? PLVVodViewControllerTypeCloudClass : PLVVodViewControllerTypeLive;
vodVC.modalPresentationStyle = UIModalPresentationFullScreen;
[viewController presentViewController:vodVC animated:YES completion:nil];
NSLog(@"频道菜单获取失败!%@",error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment