|
|
@@ -250,6 +250,7 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
// NSLog(@"self.chatId:%@",self.chatId);
|
|
|
[ChatListStore.shareInstance chatDidOpen:chatMsg];
|
|
|
[GWebSocket.shareInstance chekWebSocket];
|
|
|
+ [self movetoBotton];
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -271,7 +272,7 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
-(void)viewWillDisappear:(BOOL)animated{
|
|
|
[super viewWillDisappear:animated];
|
|
|
[self endTimer];
|
|
|
- NSLog(@"viewWillDisappear-----");
|
|
|
+// NSLog(@"viewWillDisappear-----");
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -618,15 +619,12 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
_canloadhistory = false;
|
|
|
}
|
|
|
}
|
|
|
-// if (msgList.count%16 == 0) {
|
|
|
-// _canloadhistory = true;
|
|
|
-// }else{
|
|
|
-// _canloadhistory = false;
|
|
|
-// }
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
|
-(void)movetoBotton{
|
|
|
+// NSLog(@"movetoBotton------movetoBotton");
|
|
|
if (self.messageArray.count>0) {
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
NSIndexPath *lastRowIndexPath = [NSIndexPath indexPathForRow:([self._tableView numberOfRowsInSection:0] - 1) inSection:0];
|