
IM即时通讯
安全可靠、全球互通

实时音视频
流畅稳定、省钱省力
回答:
- (void)viewDidLoad { [super viewDidLoad]; CGRect frame = self.conversationMessageCollectionView.frame; frame.origin.y += 100; frame.size.height -= 100; self.conversationMessageCollectionView.frame = frame; UIView *customView = [[UIView alloc] initWithFrame:CGRectMake(0, self.navigationController.navigationBar.frame.size.height + [[UIApplication sharedApplication] statusBarFrame].size.height, [UIScreen mainScreen].bounds.size.width, 100)]; customView.backgroundColor = [UIColor redColor]; [self.view addSubview:customView]; }
具体效果图如下: