Post

Replies

Boosts

Views

Activity

How to change geolocation settings on WKWebView
We're developing an application using location feature in WKWebView. When accessing a URL that uses location information from WebView, a dialog box saying " Would Like To Use Your Current Location - Don't Allow or OK". If "Dont allow" is selected multiple times, the dialog will disappear and the location setting for that URL will be fixed as "Don't Allow". In Safari, I can change that location settings for each URL, But Application's WebView does not have such settings UI. How do I clear or change the setting so that location information is no longer available? It seems that reinstalling the application will clear the WebView location settings.
0
0
429
Jun ’24
How to pass logged-in session to another chrome tab running on iPhone
I have implemented the application that launches Google-Chrome on the iPhone. Implementation is: var urlString = "" urlString = "googlechromes://***/yyy.html" let url = URL(string: urlString) UIApplication.shared.open(url!) In our environment it works fine and logged-in session is shared between launched tabs and user manually opened tabs. But in our customer's environment, tabs launched from the app and tabs launched manually have independent sessions. Customer uses MDM, but I've never heard that MDM causes such a session problem.
0
0
401
Aug ’21
Can iPhone receives PUSH notification via only port 443?
I'm developing application which is used in closed network. A gateway can open only port 80 or 443. I want to know can application receive a push notification or can't in this situation. According to the following document, port 2197 and 5223 are used to communicate with APNs server. https://support.apple.com/en-us/HT203609 But 2197 is only used to send, and 5223 can be replaced with 443. So I think our application can receive push notification via a port 443. But that closed network is NOT WiFi but special 4G/LTE. In this case, fallback from 5223 to 443 can't work and application can't receive a push notifications? 
2
0
457
Sep ’20