Developer/iOS

[iOS]Custom Keyboard 아이폰 커스텀 키보드

블로blow 2015. 12. 2. 17:00
728x90

download : http://github.com/minjoongkim/CustomKeyboard


1. import CustomKeyboard.h


2. 

*.h

@property (nonatomic, strong) CustomKeyBoard *keyboard;
@property (nonatomic, strong) IBOutlet UITextField *tf_keyboard;


*.m

-(void)viewDidLoad {
    UIScreen *mainScreen = [UIScreen mainScreen];
    keyboard = [[CustomKeyBoard alloc] init:mainScreen.bounds.size.width height:mainScreen.bounds.size.width*0.7 textView:tf_keyboard];
    tf_keyboard.delegate = self;
}





728x90