mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 09:26:26 +00:00
IOS7: Fix handling of arrow keys on iOS 15
This commit is contained in:
parent
8f49df6aca
commit
68331af461
@ -150,7 +150,7 @@
|
||||
// In iOS 15 the UIKeyCommand has a new property wantsPriorityOverSystemBehavior that is needed to
|
||||
// receive some keys (such as the arrow keys).
|
||||
if ([keyCommand respondsToSelector:@selector(setWantsPriorityOverSystemBehavior:)]) {
|
||||
[UIKeyCommand setValue:[NSNumber numberWithBool: YES] forKey:@"wantsPriorityOverSystemBehavior"];
|
||||
[keyCommand setValue:[NSNumber numberWithBool:YES] forKey:@"wantsPriorityOverSystemBehavior"];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user