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