IQKeyBoardManager遇到的坑
//视图控制器已经加载完成之后,禁用IQKeyboardManager
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
[[IQKeyboardManager sharedManager] setEnable:NO];
}
//视图控制器已经消失,开启IQKeyboardManager
-(void)viewDidDisappear:(BOOL)animated
{
[super viewDidDisappear:animated];
[[IQKeyboardManager sharedManager] setEnable:YES];
}