diff --git a/src/ios/CDVIonicKeyboard.m b/src/ios/CDVIonicKeyboard.m index e4615a8..a327912 100644 --- a/src/ios/CDVIonicKeyboard.m +++ b/src/ios/CDVIonicKeyboard.m @@ -162,7 +162,9 @@ - (void)onKeyboardWillShow:(NSNotification *)note [self resetScrollView]; } - [self setKeyboardStyle:self.keyboardStyle]; + if (self.keyboardStyle) { + [self setKeyboardStyle:self.keyboardStyle]; + } NSString *js = [NSString stringWithFormat:@"Keyboard.fireOnShowing(%d);", (int)height]; [self.commandDelegate evalJs:js];