Post

Replies

Boosts

Views

Activity

Reply to WKWebView memory budget
We have the problem that our canvas web app seems to reach that memory limit much more often when its run in our iOS app. When its run in safari we have not seen issues reported like that. There must be a difference in memory allocation between an app wkwebview process and a safari wkwebview process. And if there isn't one what is safari doing to recover from those memory issues. Cheers Thomas
Mar ’22
Reply to Simulator crashing with iOS < 14. Started happening since Big Sur
Its Aug 2022 and this is still an issue. Our app needs to support iOS 12/13 and we have no way of effectively testing our app. So I guess the only way apple expects us to work is to feature flag our app and remove all audio components on app start via a launch argument? If anyone from apple will ever look here they will tell you, to create an issue report on their feedback site. The issue with that is that no is ever looking there either. Time is on their side, unfortunately for us devs who need to deal with these issues it is giant waste of time.
Aug ’22
Reply to how do I print the contents of the PdfView?
Try this if let pdfData = pdfView.document?.dataRepresentation() { let printInfo = UIPrintInfo(dictionary: nil) printInfo.jobName = "page" printInfo.outputType = .general let printController = UIPrintInteractionController.shared printController.printInfo = printInfo printController.showsNumberOfCopies = true printController.printingItem = pdfData printController.present(animated: true, completionHandler: nil) } I hope this helps.
Jul ’23