3 ms·
UiWebView from fb/tw is really the biggest pain point on iOS when most of your traffic come from social media. The only way I foud to escape it is to add a li
by pierre 11y ago
UiWebView from fb/tw is really the biggest pain point on iOS when most of your traffic come from social media.
The only way I foud to escape it is to add a little bit of js to perform the following :
- test if the browser is an UI webview
- if yes redirect to ftp://(mysite).com
- safari will intercept this uri scheme and try to open the ftp link.
- serve an html page over ftp than just contain a small js script that redirect to the original url.
- the user is back to the original page but on safari and can now browse more modern web content (webgl games?)
This is tedious, broke the back button and glimps for half a seconds beforebuser can access my content. I will loved to not have to do it anymore.