runtime orientation limitation, tested on iOS17.2 (probably need iOS16+, not working with iOS14)
This commit is contained in:
@@ -76,7 +76,8 @@
|
||||
btMouseSupport:(BOOL)btMouseSupport
|
||||
// absoluteTouchMode:(BOOL)absoluteTouchMode
|
||||
touchMode:(NSInteger)touchMode
|
||||
statsOverlay:(BOOL)statsOverlay {
|
||||
statsOverlay:(BOOL)statsOverlay
|
||||
allowPortrait:(BOOL)allowPortrait{
|
||||
|
||||
[_managedObjectContext performBlockAndWait:^{
|
||||
Settings* settingsToSave = [self retrieveSettings];
|
||||
@@ -105,6 +106,7 @@
|
||||
// settingsToSave.absoluteTouchMode = absoluteTouchMode;
|
||||
settingsToSave.touchMode = [NSNumber numberWithInteger:(uint16_t)touchMode];
|
||||
settingsToSave.statsOverlay = statsOverlay;
|
||||
settingsToSave.allowPortrait = allowPortrait;
|
||||
|
||||
[self saveData];
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user