mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Disable "define" option in the keyboard, it seems to mess up the keyboard.
This commit is contained in:
parent
c0d4c3d7f0
commit
865c2c1513
1 changed files with 9 additions and 0 deletions
|
|
@ -26,4 +26,13 @@
|
|||
[self sendActionsForControlEvents:UIControlEventEditingChanged];
|
||||
}
|
||||
|
||||
-(BOOL)canPerformAction:(SEL)action withSender:(id)sender{
|
||||
// disable "define" option, since it messes with the keyboard
|
||||
if ([[NSStringFromSelector(action) lowercaseString] rangeOfString:@"define"].location != NSNotFound) {
|
||||
return NO;
|
||||
} else {
|
||||
return [super canPerformAction:action withSender:sender];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue