No Description

CMBWebKeyboard.h 862B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // CMBWebKeyboard.h
  3. // SKeyboardTest
  4. //
  5. // Created by zk on 16/2/23.
  6. // Copyright © 2016年 zkr. All rights reserved.
  7. //
  8. #ifndef CMBWebKeyboard_h
  9. #define CMBWebKeyboard_h
  10. #import <Foundation/Foundation.h>
  11. #import <UIKit/UIKit.h>
  12. #define cmbKeyboardWillHideNotification @"cmbKeyboardWillHideNotification"
  13. #define cmbKeyboardDidChangeCharactersNotification @"cmbKeyboardDidChangeCharactersNotification"
  14. typedef NS_ENUM(NSUInteger, CMBLSUICommandPresentType) {
  15. CMBLSUICommandPresentTypeKeyboardLike,
  16. CMBLSUICommandPresentTypeFullScreen,
  17. CMBLSUICommandPresentTypeToolBar,// navigation br or tabbar
  18. };
  19. @interface CMBWebKeyboard : NSObject
  20. @property (nonatomic, strong) UIWebView *webView;
  21. + (CMBWebKeyboard *)shareInstance;
  22. - (void)showKeyboardWithRequest:(NSURLRequest *)request;
  23. - (void)hideKeyboard;
  24. @end
  25. #endif /* CMBWebKeyboard_h */