diff --git a/osu.Android.props b/osu.Android.props index 09c83cf37b..3a0d771fbf 100644 --- a/osu.Android.props +++ b/osu.Android.props @@ -10,7 +10,7 @@ true - + diff --git a/osu.iOS.props b/osu.iOS.props index aa5f4de8c9..5a2f7f5f18 100644 --- a/osu.iOS.props +++ b/osu.iOS.props @@ -17,6 +17,6 @@ -all - + diff --git a/osu.iOS/AppDelegate.cs b/osu.iOS/AppDelegate.cs index 5d309f2fc1..65c1951e80 100644 --- a/osu.iOS/AppDelegate.cs +++ b/osu.iOS/AppDelegate.cs @@ -9,7 +9,7 @@ using UIKit; namespace osu.iOS { [Register("AppDelegate")] - public class AppDelegate : GameApplicationDelegate + public class AppDelegate : GameApplicationDelegate, IUIApplicationDelegate { private UIInterfaceOrientationMask? defaultOrientationsMask; private UIInterfaceOrientationMask? orientations; @@ -41,7 +41,7 @@ namespace osu.iOS protected override Framework.Game CreateGame() => new OsuGameIOS(this); - public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations(UIApplication application, UIWindow forWindow) + public UIInterfaceOrientationMask GetSupportedInterfaceOrientations(UIApplication application, UIWindow forWindow) { if (orientations != null) return orientations.Value;