Repository navigation
Conversation
UIKit on iOS 13+ / 26+ and tvOS 13+ / 26+ sends URLs to UIWindowSceneDelegate scene:openURLContexts:, not application:handleOpenURL: (unavailable on tvOS, deprecated on iOS). ofxiOSSceneDelegate is already that scene delegate. Stop forwarding to handleOpenURL:. Call application:openURL:options: when the app delegate implements it, otherwise ofxiOSAlerts.launchedWithURL. ofxiOSAppDelegate now implements application:openURL:options: the same way ofxtvOSAppDelegate does. handleOpenURL: remains on iOS only as a wrapper for pre-scene UIKit.
danoli3
changed the base branch from
master
to
tvos-handleopenurl-unavailable
November 5, 2026 03:32
danoli3
merged commit Nov 5, 2026
04e7a53
into
openframeworks:tvos-handleopenurl-unavailable
29 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #8648.
iOS and tvOS now use the iOS 13+ / 26+ URL entry point:
UIWindowSceneDelegatescene:openURLContexts:.What UIKit calls
scene:openURLContexts:(iOS 13+, tvOS 13+; required on 26+)application:openURL:options:(iOS 9+, deprecated 26)application:handleOpenURL:(iOS 2–9)#8643 already named
ofxiOSSceneDelegatein both Info.plists. This PR makes that method the handler.Change
ofxiOSSceneDelegate scene:openURLContexts:forwards toapplication:openURL:options:when the app delegate implements it, otherwiseofxiOSAlerts.launchedWithURL. It does not callhandleOpenURL:.ofxiOSAppDelegateimplementsapplication:openURL:options:(same body as tvOS in tvOS: stop calling application:handleOpenURL: (unavailable) #8648). iOShandleOpenURL:stays as a wrapper for pre-scene UIKit.Merge #8648 first; this PR retargets onto master after that.