Table Height Won't Adjust upon Keyboard Prompt in Scroll View

17 views
Skip to first unread message

Kevin W

unread,
Nov 8, 2012, 10:44:25 AM11/8/12
to ibaf...@googlegroups.com
IBAForms adjusts form table insets upon keyboard prompt (when necessary) , so that the current form field (being edited) won't be overlapped by keyboard. It works well when IBAForms is embedded in a regular UIViewController or UINavigationController.

However, I am trying to use multiple IBAForms in UIScrollView to implement paging: each page is a distinct IBAForm. It worked except for one thing: inset adjustment induced by keyboard prompt does not work any more. The form field being edited will be blocked by keyboard if it is located in lower part of the screen, -- it seems that table inset adjustment does not happen.

I have checked the code and found the adjustment working in adjustTableViewHeightForCoveringFrame. Using subclassing and some tweaking, I have tried to do some extra adjustment to the parent scroll view, but to no avail.

Wonder if you can give me some help here. Thanks.


Kevin 
Reply all
Reply to author
Forward
0 new messages