temporally enable allowPortrait selctor

This commit is contained in:
True Zhuanjia
2024-07-13 18:57:20 +08:00
parent 7c0f9b65f1
commit a441670591
@@ -396,7 +396,7 @@ BOOL isCustomResolution(CGSize res) {
bool allowPortraitSelectorEnabled;
if (@available(iOS 16.0, *)) allowPortraitSelectorEnabled = true; //probably need iOS 16.0 to make runtime orientation limitation woring
else allowPortraitSelectorEnabled = false;
[self.allowPortraitSelector setEnabled:allowPortraitSelectorEnabled];
// [self.allowPortraitSelector setEnabled:allowPortraitSelectorEnabled]; //temporally enable this selector for test
[self.allowPortraitSelector setSelectedSegmentIndex:currentSettings.allowPortrait ? 1 : 0];
// lift streamview setting