// // 第三方键盘回调三次问题,监听仅执行最后一次
// CGRect begin = [[[notification userInfo] objectForKey:@"UIKeyboardFrameBeginUserInfoKey"] CGRectValue];
// CGRect end = [[[notification userInfo] objectForKey:@"UIKeyboardFrameEndUserInfoKey"] CGRectValue];
// if(begin.size.height>0 && (begin.origin.y-end.origin.y>0)){
// NSLog(@"contHeight is %ld", (long)contHeight);
// NSLog(@"self.contentHeight is %ld", (long)self.contentHeight);
// NSLog(@"duration is %f", duration);
//
// self.isKeyboardAnimating = YES;
// duration = duration ? duration : 0.20;
//
// [UIView animateWithDuration:duration animations:^{
// self.frame = rect;
// self.contentHeight = contHeight;
// } completion:^(BOOL finished) {
// _isKeyboardAnimating = NO;
// }];
// }
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |