Created
December 7, 2014 17:14
-
-
Save peerasak-u/ba38c9ff4924bf133355 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
| { | |
| // Override point for customization after application launch. | |
| [self preloadKeyboard]; | |
| return YES; | |
| } | |
| - (void)preloadKeyboard | |
| { | |
| UITextField *lagFreeTextField = [[UITextField alloc] init]; | |
| [self.window addSubview:lagFreeTextField]; | |
| [lagFreeTextField becomeFirstResponder]; | |
| [lagFreeTextField resignFirstResponder]; | |
| [lagFreeTextField removeFromSuperview]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment