Posts

Post not yet marked as solved
2 Replies
0 Views
@huangzhikai, What do you mean by "third-party browsers"? I have tried on the most popular "third-party browsers" for iOS: Chrome for iOS and Firefox for iOS. The result is the same as in our browser: they are not displayed in the Desktop Safari Developer menu. Looks like something missing either in WebKit or in iOS browsers code. p.s. This time I tested on iOS 16.0 developer beta 3(20A5312g) with both Desktop Safari 15.5 (17613.2.7.1.8) and Desktop Safari Technology Preview Release 148 (Safari 16.0, WebKit 17614.1.17.1)
Post not yet marked as solved
1 Replies
0 Views
WKURLSchemeHandler is not designed to handle "http" and "https" schemes and you are doing this at your own risk. WebKit's documentation clearly says that all the methods of WebKit have to be called from main thread, that is not a case for you, as I see from screenshot. Always call WebKit functions and methods from your app’s main thread or main dispatch queue. Moving dealloc call to main thread may resolve your issue.