fix iOS 14 GroupInfo empty bug

修复 Demo 在 iOS 14 点击群组详情空白
This commit is contained in:
0x0oo
2020-09-21 10:59:07 +08:00
committed by GitHub
parent 491dafbe2e
commit 00f52ac14b
@@ -22,6 +22,7 @@
#import "THelper.h"
#import <ImSDK/ImSDK.h>
@interface GroupInfoController () <TGroupInfoControllerDelegate>
@end
@@ -33,6 +34,7 @@
TUIGroupInfoController *info = [[TUIGroupInfoController alloc] init];
info.groupId = _groupId;
info.delegate = self;
info.view.frame = self.view.bounds;
[self addChildViewController:info];
[self.view addSubview:info.view];
self.title = @"详细资料";