diff --git a/XLForm/XL/Controllers/XLFormViewController.m b/XLForm/XL/Controllers/XLFormViewController.m index 97180101..128efcb6 100755 --- a/XLForm/XL/Controllers/XLFormViewController.m +++ b/XLForm/XL/Controllers/XLFormViewController.m @@ -502,6 +502,9 @@ - (void)contentSizeCategoryChanged:(NSNotification *)notification - (void)keyboardWillShow:(NSNotification *)notification { + if (_form.rowNavigationOptions == XLFormRowNavigationOption3rdParty) + return; + UIView * firstResponderView = [self.tableView findFirstResponder]; UITableViewCell * cell = [firstResponderView formDescriptorCell]; if (cell){ @@ -528,6 +531,9 @@ - (void)keyboardWillShow:(NSNotification *)notification - (void)keyboardWillHide:(NSNotification *)notification { + if (_form.rowNavigationOptions == XLFormRowNavigationOption3rdParty) + return; + UIView * firstResponderView = [self.tableView findFirstResponder]; UITableViewCell * cell = [firstResponderView formDescriptorCell]; if (cell){ diff --git a/XLForm/XL/Descriptors/XLFormDescriptor.h b/XLForm/XL/Descriptors/XLFormDescriptor.h index 938382ca..e385f2d2 100644 --- a/XLForm/XL/Descriptors/XLFormDescriptor.h +++ b/XLForm/XL/Descriptors/XLFormDescriptor.h @@ -43,6 +43,7 @@ typedef NS_OPTIONS(NSUInteger, XLFormRowNavigationOptions) { XLFormRowNavigationOptionStopDisableRow = 1 << 1, XLFormRowNavigationOptionSkipCanNotBecomeFirstResponderRow = 1 << 2, XLFormRowNavigationOptionStopInlineRow = 1 << 3, + XLFormRowNavigationOption3rdParty = 1 << 4 }; @class XLFormSectionDescriptor;