Digital PCT265 story MVAPCT-213 - Function name update

This commit is contained in:
Scott Pfeil 2024-08-06 10:31:18 -04:00
parent 1d2defeabb
commit dfbb53f545
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
- (void)hideArrow; - (void)hideArrow;
/// Orientation supported by the panel. /// Orientation supported by the panel.
- (UIInterfaceOrientationMask)supportedInterfac; - (UIInterfaceOrientationMask)supportedInterface;
/// The width to use if the panel is automatically extended when the screen is big enough. /// The width to use if the panel is automatically extended when the screen is big enough.
- (CGFloat)panelExtendedWidth; - (CGFloat)panelExtendedWidth;

View File

@ -680,7 +680,7 @@ CGFloat const PanelAnimationDuration = 0.2;
} }
} }
if (@available(iOS 16.0, *)) { if (@available(iOS 16.0, *)) {
if ([panel respondsToSelector:@selector(supportedInterfac)]) { if ([panel respondsToSelector:@selector(supportedInterface)]) {
[controller setNeedsUpdateOfSupportedInterfaceOrientations]; [controller setNeedsUpdateOfSupportedInterfaceOrientations];
} }
} }
@ -715,7 +715,7 @@ CGFloat const PanelAnimationDuration = 0.2;
} }
} }
if (@available(iOS 16.0, *)) { if (@available(iOS 16.0, *)) {
if ([panel respondsToSelector:@selector(supportedInterfac)]) { if ([panel respondsToSelector:@selector(supportedInterface)]) {
[controller setNeedsUpdateOfSupportedInterfaceOrientations]; [controller setNeedsUpdateOfSupportedInterfaceOrientations];
} }
} }