Skip to content

Commit

Permalink
Merge pull request #6524 from frenzibyte/ios-fix-wrong-override
Browse files Browse the repository at this point in the history
Fix iOS URL handling overriding deprecated method
  • Loading branch information
peppy authored Feb 11, 2025
2 parents 62b98aa + e3c7cb6 commit ab6a951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework.iOS/GameApplicationDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public override bool FinishedLaunching(UIApplication application, NSDictionary l
return true;
}

public override bool OpenUrl(UIApplication application, NSUrl url, string sourceApplication, NSObject annotation)
public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
{
// copied verbatim from SDL: https://github.com/libsdl-org/SDL/blob/d252a8fe126b998bd1b0f4e4cf52312cd11de378/src/video/uikit/SDL_uikitappdelegate.m#L508-L535
// the hope is that the SDL app delegate class does not have such handling exist there, but Apple does not provide a corresponding notification to make that possible.
Expand Down

0 comments on commit ab6a951

Please sign in to comment.