![]() Therefore, I observed when we are navigation the ViewController using pushViewController then location popup is coming but during the present viewController, unable to get location popup for WKWebView. After enabling popups on the map and running the method does not work and I am unable to get the location. Current situation: In iOS16.4 and 16.4.1, the permission request popup for Safari (WKWebView) is not displayed, and only the permission request for the app domain is displayed in a popup with a map. The first time, a popup location permissions for the app's domain appeared in a popup with a map and second pop-up requesting permission for Safari (WKWebView) location information was displayed. You can get location information by executing the method on a web page opened in WKWebView. Previously: In iOS 16.2, a popup appeared twice when retrieving location information for the first installed app. Would you guys be kindly enough to tell us how youtube is able to use autoplay while others cannot? Is it because of some special agreement they have with Apple or is there any established rules that we need to comply in our code to make Safari enable autoplay for our application?Best regards,Īfter updating device to iOS 16.4.1 unable to location popup in WKWebView. ![]() Probably because of some exceptions of the rules that are pre-installed on Safari or in the way they are using autoplay. Instructing our clients to enable autoplay manually on Safari for our website is really becoming costly for us.Bigger streaming websites such as youtube doesnt seem to be affected by these changes. Could you guys point us to where we might find this? This autoplay block is really affecting the user experience on our service and we are receiving a lot of complains from customers. We strongly agree on this step to minimize abusive use of annoying video advertisements that plays annoying audio loud enough to blast a hole on your sound system.But what we are not really aware of is if Apple have reserved a way to facilitate autoplay for websites that offer protected premium LIVE streaming services like ours. Hi Guys,We are aware that Apple have already included the media autoplay blocking mechanism in the Safari browsers. I've check it with iOS16.5 and this issue still occurs. But this is internal view and I cannot get it in the correct way. ![]() Using Debug View Hierarchy I've found that WKWebView have many subviews of type WKCompositingView and the top of them have height equal to height of whole document. I used to get height value from UIWebView like this:ĬGFloat documentHeight = floatValue] To do this I need to set frame of webView to be the same as the whole document frame. I need to put this webView inside UITableViewCell so user will scroll through document using tableView scroll - not internal WebView scroll. I've tried updating it to WKWebView but result is the same. ![]() Since iOS16.4 I cannot retrieve proper content height from my UIWebView. Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped! Won't clamped!Ĭlamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Clamped! Parent element with -webkit-line-clamp: nĪnd child ScrollContainer element (with css overflow: hidden), then this child would be clamped. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |