[[NSNotificationCenter defaultCenter] addObserver:self.writeView selector:@selector(KeyboardFrameHeightOfShow:) name:UIKeyboardWillShowNotification object:nil];
2条回答 默认 最新
- 朕就是这么帅 2017-04-07 02:18关注
报黄的原因是什么?是
writeView
没有找到KeyboardFrameHeightOfShow:
方法么?还是KeyboardFrameHeightOfShow:
方法没有声明? 如果是这样,就让他服从相关的代理,如果只是看着报黄心烦就用下面的代码直接加在报黄的代码前面//忽略编译器的警告 #pragma clang diagnostic push #pragma clang diagnostic ignored"-Wdeprecated-declarations"
解决 无用评论 打赏 举报