Skip to content
New issue

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

Added keyboard mode property to BPFormViewController #2

Merged
merged 1 commit into from
Mar 19, 2014

Conversation

snown
Copy link
Contributor

@snown snown commented Mar 19, 2014

I was experiencing a lot of crashing trying to use BPFormViewController in a popover on iPad. It would try to move the form view, but the popover would also try to adjust, and Autolayout freaked out.

This change performs a check for a popover superview by default, if one is found the view does not try to resize in response to the keyboard. I also expose the keyboardMode property so you have the choice to forcibly respond to the keyboard, or not.

@bpoplauschi
Copy link
Owner

Very good point. Agreeing on the fix. Thanks.

bpoplauschi added a commit that referenced this pull request Mar 19, 2014
Added keyboard mode property to BPFormViewController
@bpoplauschi bpoplauschi merged commit 4b3d9de into bpoplauschi:master Mar 19, 2014
@snown snown deleted the keyboard-mode branch March 20, 2014 20:07
@bpoplauschi bpoplauschi added this to the 1.1.0 milestone May 16, 2014
pagrit added a commit to willhaben/BPForms that referenced this pull request Nov 23, 2017
use safearea layout guides also for right, top and left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants