diff --git a/package.json b/package.json index a5f0f4b..4e343a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-native-keyboard", - "version": "2.0.5", + "version": "2.0.6", "description": "This plugin aims to solve common keyboard problems encountered with Cordova / PhoneGap apps. The messenger component (see screenshots) is ready for production, but this plugin will have more tricks up its sleeve. I'll document those once they're ready for primetime as well.", "cordova": { "id": "cordova-plugin-native-keyboard", diff --git a/plugin.xml b/plugin.xml index 8f0b099..b0b101e 100755 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="2.0.6"> Native Keyboard diff --git a/src/ios/NKSLKTextViewController.m b/src/ios/NKSLKTextViewController.m index b4f6f90..eb94fbd 100644 --- a/src/ios/NKSLKTextViewController.m +++ b/src/ios/NKSLKTextViewController.m @@ -48,13 +48,6 @@ - (void) updateKeyboardHeight:(CGFloat)height { [self didChangeKeyboardStatus:SLKKeyboardStatusDidShow]; } -// The default is 'NO' which also means the 'keyboardWillHide' is not fired. -// Note that for WKWebView users this will return 'NO' again, so that event is not fired. -- (BOOL)forceTextInputbarAdjustmentForResponder:(UIResponder *)responder -{ - return [responder isKindOfClass:[UIWebView class]]; -} - - (void)didChangeKeyboardStatus:(SLKKeyboardStatus)status { [super didChangeKeyboardStatus:status]; CGFloat height = self.textView.frame.size.height;