disable external display settings stack for iOS12
This commit is contained in:
1 parent
2bf39aeb2e
commit
e844b5df65
2 files changed
+4
-2
No files matched your search
@@ -573,7 +573,9 @@ BOOL isCustomResolution(int resolutionSelected) {
|
|||||||
if (@available(iOS 13.0, *)) {
|
if (@available(iOS 13.0, *)) {
|
||||||
[peripheralSection setSectionWithIcon:[UIImage imageNamed:@"cable.connector.video"] andSize:20];
|
[peripheralSection setSectionWithIcon:[UIImage imageNamed:@"cable.connector.video"] andSize:20];
|
||||||
}
|
}
|
||||||
[self addSetting:self.externalDisplayModeStack ofId:@"externalDisplayModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection];
|
if (@available(iOS 13.0, *)) {
|
||||||
|
[self addSetting:self.externalDisplayModeStack ofId:@"externalDisplayModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection];
|
||||||
|
}
|
||||||
[self addSetting:self.localMousePointerModeStack ofId:@"localMousePointerModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection];
|
[self addSetting:self.localMousePointerModeStack ofId:@"localMousePointerModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection];
|
||||||
[self addSetting:self.reverseMouseWheelDirectionStack ofId:@"reverseMouseWheelDirectionStack" withInfoTag:NO withDynamicLabel:NO to:peripheralSection];
|
[self addSetting:self.reverseMouseWheelDirectionStack ofId:@"reverseMouseWheelDirectionStack" withInfoTag:NO withDynamicLabel:NO to:peripheralSection];
|
||||||
[self addSetting:self.citrixX1MouseStack ofId:@"citrixX1MouseStack" withInfoTag:NO withDynamicLabel:NO to:peripheralSection];
|
[self addSetting:self.citrixX1MouseStack ofId:@"citrixX1MouseStack" withInfoTag:NO withDynamicLabel:NO to:peripheralSection];
|
||||||
|
|||||||
@@ -834,7 +834,7 @@
|
|||||||
- (void)extScreenDidConnect:(NSNotification *)notification {
|
- (void)extScreenDidConnect:(NSNotification *)notification {
|
||||||
Log(LOG_I, @"External Screen Connected");
|
Log(LOG_I, @"External Screen Connected");
|
||||||
if ([self isAirPlayEnabled] && [notification.object isKindOfClass:[UIScreen class]]) {
|
if ([self isAirPlayEnabled] && [notification.object isKindOfClass:[UIScreen class]]) {
|
||||||
UIScreen *extScreen = (UIScreen *)notification.object;
|
// UIScreen *extScreen = (UIScreen *)notification.object;
|
||||||
if (_streamVideoRenderView) {
|
if (_streamVideoRenderView) {
|
||||||
// Remove from current superview before passing it
|
// Remove from current superview before passing it
|
||||||
[_streamVideoRenderView removeFromSuperview];
|
[_streamVideoRenderView removeFromSuperview];
|
||||||
|
|||||||
Reference in new issue
Block a user