{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/ChatKit-OC/issues/226","repository_url":"https://api.github.com/repos/leancloud/ChatKit-OC","labels_url":"https://api.github.com/repos/leancloud/ChatKit-OC/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/ChatKit-OC/issues/226/comments","events_url":"https://api.github.com/repos/leancloud/ChatKit-OC/issues/226/events","html_url":"https://github.com/leancloud/ChatKit-OC/issues/226","id":196643296,"number":226,"title":"聊天页面被挡到了","user":{"login":"BoyLiJiaWei","id":13958008,"avatar_url":"https://avatars.githubusercontent.com/u/13958008?v=3","gravatar_id":"","url":"https://api.github.com/users/BoyLiJiaWei","html_url":"https://github.com/BoyLiJiaWei","followers_url":"https://api.github.com/users/BoyLiJiaWei/followers","following_url":"https://api.github.com/users/BoyLiJiaWei/following{/other_user}","gists_url":"https://api.github.com/users/BoyLiJiaWei/gists{/gist_id}","starred_url":"https://api.github.com/users/BoyLiJiaWei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoyLiJiaWei/subscriptions","organizations_url":"https://api.github.com/users/BoyLiJiaWei/orgs","repos_url":"https://api.github.com/users/BoyLiJiaWei/repos","events_url":"https://api.github.com/users/BoyLiJiaWei/events{/privacy}","received_events_url":"https://api.github.com/users/BoyLiJiaWei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-20T10:57:11Z","updated_at":"2016-12-20T11:00:01Z","closed_at":null,"body":"## Base Info for this issue \r\n\r\n<!--- 基本信息 -->\r\n\r\n<!--- 每个类的第五行都标记有版本号，请贴出。 -->    v0.8.5\r\n\r\n 1. ChatKit Version：0.7.17\r\n 2. App-ID: XX\r\n 3. Language：Objective-C\r\n 4. iOS System Version：iOS10\r\n 5. Prototype（是否是真机）：YES\r\n 6. Issue Type：Crash、Bug、Enhancement（希望能支持一个新需求）、Q-A\r\n\r\n## 1. How to repeat the problem.\r\n<!--- 请详细描述下复现步骤。 -->\r\n集成chatkit 聊天页面用自己的导航栏  挡到聊天消息了\r\n## 2. Please help me in this way.\r\n<!--- 请详细描述下我需要怎么做才能符合你的需求。 -->\r\n\r\n## 3. Here is a Demo. \r\n\r\n<!--- 尽量提供一个可以复现的Demo，我的邮箱：luohanchenyilong@163.com。 -->\r\n\r\n## 4. Here is my Debug log\r\n\r\n<!--- 请尽量提供详细的日志打印信息，控制台默认会有网络请求的打印信息，请将相关的日志贴出\r\n\r\n同时为方便定位 IM 相关的问题，有一个方法可以打印更多的日志：\r\n\r\n直接修改SDK的源码：\r\n\r\n你在 `AVIMWebSocket.m` 中将下面的代码：\r\n\r\n//#define AVIM_ENABLE_LOG\r\n\r\n替换为\r\n\r\n#define AVIM_ENABLE_LOG 1\r\n\r\n这样就会打印出更多IM相关的日志。\r\n\r\n-->\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/leancloud/ChatKit-OC/issues/comments/268215109","html_url":"https://github.com/leancloud/ChatKit-OC/issues/226#issuecomment-268215109","issue_url":"https://api.github.com/repos/leancloud/ChatKit-OC/issues/226","id":268215109,"user":{"login":"BoyLiJiaWei","id":13958008,"avatar_url":"https://avatars.githubusercontent.com/u/13958008?v=3","gravatar_id":"","url":"https://api.github.com/users/BoyLiJiaWei","html_url":"https://github.com/BoyLiJiaWei","followers_url":"https://api.github.com/users/BoyLiJiaWei/followers","following_url":"https://api.github.com/users/BoyLiJiaWei/following{/other_user}","gists_url":"https://api.github.com/users/BoyLiJiaWei/gists{/gist_id}","starred_url":"https://api.github.com/users/BoyLiJiaWei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoyLiJiaWei/subscriptions","organizations_url":"https://api.github.com/users/BoyLiJiaWei/orgs","repos_url":"https://api.github.com/users/BoyLiJiaWei/repos","events_url":"https://api.github.com/users/BoyLiJiaWei/events{/privacy}","received_events_url":"https://api.github.com/users/BoyLiJiaWei/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T11:00:01Z","updated_at":"2016-12-20T11:00:01Z","body":"说错了 因为控制器是继承LCCKConversationViewController\r\n所以我就在上面直接加了一个view\r\n\r\nUIView *naviV = [[UIView alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, 64)];\r\n    naviV.backgroundColor = mainColor;\r\n    [self.view addSubview:naviV];\r\n    \r\n    UILabel *_titleLable = [[UILabel alloc]initWithFrame:CGRectMake(40, 20, ScreenWidth-80, 44)];\r\n    _titleLable.backgroundColor = [UIColor clearColor];\r\n    _titleLable.textAlignment = NSTextAlignmentCenter;\r\n    _titleLable.font = FontSet(17);;\r\n    _titleLable.textColor = [UIColor whiteColor];\r\n    _titleLable.text = @\"聊天\";\r\n    [naviV addSubview:_titleLable];\r\n    \r\n    UIButton * _backBtn = [UIButton buttonWithType:UIButtonTypeCustom];\r\n    _backBtn.frame = CGRectMake(0, 19, 50, 44);\r\n    [_backBtn setImage:[UIImage imageNamed:@\"返回.png\"] forState:UIControlStateNormal];\r\n    [_backBtn setImageEdgeInsets:UIEdgeInsetsMake(12, 14, 12, 24)];\r\n    [_backBtn addTarget:self action:@selector(backAction:) forControlEvents:UIControlEventTouchUpInside];\r\n    _backBtn.adjustsImageWhenHighlighted = NO;\r\n    [naviV addSubview:_backBtn];"}}
{"actor":{"display_login":"BoyLiJiaWei"}}