开启iq,侧滑时,会出现tableview 向下移动
解决方法 :
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
IQKeyboardManager.shared.enable = true
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
IQKeyboardManager.shared.enable = false
}
网友评论