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 block callback for prev/next changes #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cbpowell
Copy link

I added a block callback that fires whenever the Next/Previous buttons are pressed, in order to get XCDFormInputAccessoryView to play nice with TPKeyboardAvoiding.

I found that I could press Next until the active text field was way offscreen, and needed to fire TPKeyboardAvoiding's -scrollToActiveTextField method to move it into the visible area.

If there's already an easy way to do this I totally missed it...but this callback might be useful for other things as well.

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.

1 participant