Post

Replies

Boosts

Views

Activity

Reply to Webapp fails in iOS when using revokeObjectURL
To simplify the debugging I replaced loading-from-zipfile with loading-from-external-url To mimic the behavior of creating and cleaning object urls, I artifically clean the object url via revokeObjectURL, fetch the blob from the external url, and create an object url via createObjectURL Ideally there should not be any memory leak as I'm cleaning the object url, but there is. After a finite number of images (~500 on my iPadPro), the load fails. An example of the problem can be seen here: https://jsfiddle.net/avnerm/vd8cwy9g/5/ A bug was filed in https://bugs.webkit.org/show_bug.cgi?id=236692
Feb ’22
Reply to Application Transport Security ?
I'm using wkwebview to refer to a direct local http IP address (e.g. http://192.168.1.80) instead of a domain name. This is done for development purposes only and not for official or public release. I'm seeing an error: domain = NSURLErrorDomain, code = -1202 Adding the following code to my Info.list file does not solve the problem. <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key><true/> </dict> I read here that the order of things may cause problems. In my case, I don't have a pre-build or post-build scripts. I'm debugging iOS14 with xcode 13.1 on MacOS 12.0.1 How can I refer to a direct IP address? Thanks
Dec ’21