We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard 和 customview 并不在同一坐标系,在presentViewController的view中弹出popview的话,customViewMaxY计算不对,可以这样修改: 在- (void)keyboardWillShow:(NSNotification *)notification这个方法中修改: CGFloat customViewMaxY = self.customView.pv_Bottom + self.avoidKeyboardSpace; 改成:
- (void)keyboardWillShow:(NSNotification *)notification
CGFloat customViewMaxY = self.customView.pv_Bottom + self.avoidKeyboardSpace;
CGRect cf = [self.customView convertRect:self.customView.bounds toView:[UIApplication sharedApplication].keyWindow]; CGFloat customViewMaxY = cf.origin.y + cf.size.height + self.avoidKeyboardSpace;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Keyboard 和 customview 并不在同一坐标系,在presentViewController的view中弹出popview的话,customViewMaxY计算不对,可以这样修改:
在
- (void)keyboardWillShow:(NSNotification *)notification
这个方法中修改:CGFloat customViewMaxY = self.customView.pv_Bottom + self.avoidKeyboardSpace;
改成:
The text was updated successfully, but these errors were encountered: