How do I keep a WKWebView object from crashing?
问题 Scenario I'm building an iOS application in Swift. One feature is to have a live video feed as the application background. The video feed is originating from a Raspberry Pi on a local network using sudo motion . Motion is successfully hosting the feed on default port 8081 . The Swift app has a WKWebView object with the source pointing to my Raspberry Pi's motion port. Suspected Issue The webpage at port 8081 is constantly refreshing to load the most recent frame from the camera. Problem When