Skip to content

Commit

Permalink
Hide iOS home indicator by default
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Oct 8, 2024
1 parent f5338c8 commit 793e674
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Framework.iOS/IOSWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public IOSWindow(GraphicsSurfaceType surfaceType, string appName)

public override void Create()
{
SDL_SetHint(SDL_HINT_IOS_HIDE_HOME_INDICATOR, "2"u8);

base.Create();

window = Runtime.GetNSObject<UIWindow>(WindowHandle);
Expand Down

0 comments on commit 793e674

Please sign in to comment.