I'm looking for a way to change how my app handles URL scheme in FMX when a user clicks a URL. Scenario, user clicks a Wikipedia link inside app and the safari in IOS opens up the default app if present Wikipedia to view the link instead of just opening the link in the default browser as a normal link.
Link below shows apps can register to have URLs open to their apps https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app
procedure SetUserAgent(const ABrowser: TWebBrowser);
var
LWebView: WKWebView;
begin
if Supports(ABrowser, WKWebView, LWebView) then
LWebView.configuration.setURLSchemeHandler(nil,nil);
end;