diff --git a/MVMCoreUI/Containers/SplitViewController/MVMCoreUIPanelProtocol.h b/MVMCoreUI/Containers/SplitViewController/MVMCoreUIPanelProtocol.h index bb151cc7..589dd5f3 100644 --- a/MVMCoreUI/Containers/SplitViewController/MVMCoreUIPanelProtocol.h +++ b/MVMCoreUI/Containers/SplitViewController/MVMCoreUIPanelProtocol.h @@ -34,7 +34,7 @@ - (void)hideArrow; /// 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. - (CGFloat)panelExtendedWidth; diff --git a/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m b/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m index 78d5ef5a..ec2e7d27 100644 --- a/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m +++ b/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m @@ -680,7 +680,7 @@ CGFloat const PanelAnimationDuration = 0.2; } } if (@available(iOS 16.0, *)) { - if ([panel respondsToSelector:@selector(supportedInterfac)]) { + if ([panel respondsToSelector:@selector(supportedInterface)]) { [controller setNeedsUpdateOfSupportedInterfaceOrientations]; } } @@ -715,7 +715,7 @@ CGFloat const PanelAnimationDuration = 0.2; } } if (@available(iOS 16.0, *)) { - if ([panel respondsToSelector:@selector(supportedInterfac)]) { + if ([panel respondsToSelector:@selector(supportedInterface)]) { [controller setNeedsUpdateOfSupportedInterfaceOrientations]; } }