Hi there
I noticed a problem with the touch screen keyboard on Unity 4 which caused a 1-2 second freeze in our game when the TouchScreenKeyboard.Open function was called on an iPhone 5 or lower.
We resolved this by "pre-loading" the keyboard using the following snippet on
didFinishLaunchingWithOptions:
iOS TouchScreenKeyboard.Open Lag
I noticed a problem with the touch screen keyboard on Unity 4 which caused a 1-2 second freeze in our game when the TouchScreenKeyboard.Open function was called on an iPhone 5 or lower.
We resolved this by "pre-loading" the keyboard using the following snippet on
didFinishLaunchingWithOptions:
Code (Objective-C):
- // Preloads keyboard so there's no lag on its initial appearance.
- UITextField *lagFreeField = [[UITextFieldalloc] init];
- [self.windowaddSubview:lagFreeField];...