mirror of
https://github.com/ogoguel/activegs-ios.git
synced 2024-12-22 00:29:17 +00:00
Merge pull request #3 from yoshisuga/master
iOS 8 orientation crash fix
This commit is contained in:
commit
4d439160db
@ -2183,8 +2183,10 @@ int x_adb_get_keypad_y()
|
|||||||
|
|
||||||
debug_printf("setInputAccessoryView:accessView");
|
debug_printf("setInputAccessoryView:accessView");
|
||||||
// IOS8
|
// IOS8
|
||||||
|
if ( !isHardwareKeyboard() ) {
|
||||||
[self.accessView removeFromSuperview];
|
[self.accessView removeFromSuperview];
|
||||||
[self.textField setInputAccessoryView:self.accessView];
|
[self.textField setInputAccessoryView:self.accessView];
|
||||||
|
}
|
||||||
|
|
||||||
[self.textField becomeFirstResponder];
|
[self.textField becomeFirstResponder];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user