disable pip for iOS lower than iOS15
This commit is contained in:
1 parent
c629acfa4b
commit
686696a6d9
1 file changed
+7
@@ -1247,7 +1247,14 @@ BOOL isCustomResolution(CGSize res) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[self.yuv444Switch setOn:currentSettings.enableYUV444];
|
[self.yuv444Switch setOn:currentSettings.enableYUV444];
|
||||||
|
|
||||||
[self.pipSwitch setOn:currentSettings.enablePIP];
|
[self.pipSwitch setOn:currentSettings.enablePIP];
|
||||||
|
if(@available(iOS 15.0, *)) [self.pipSwitch setEnabled:true];
|
||||||
|
else{
|
||||||
|
[self.pipSwitch setOn:false];
|
||||||
|
[self.pipSwitch setEnabled:false];
|
||||||
|
}
|
||||||
|
|
||||||
[self.statsOverlaySelector setSelectedSegmentIndex:currentSettings.statsOverlayLevel.intValue];
|
[self.statsOverlaySelector setSelectedSegmentIndex:currentSettings.statsOverlayLevel.intValue];
|
||||||
[self.citrixX1MouseSwitch setOn:currentSettings.btMouseSupport];
|
[self.citrixX1MouseSwitch setOn:currentSettings.btMouseSupport];
|
||||||
[self.optimizeGamesSwitch setOn: currentSettings.optimizeGames];
|
[self.optimizeGamesSwitch setOn: currentSettings.optimizeGames];
|
||||||
|
|||||||
Reference in new issue
Block a user