I'm working on a swift app that contains a UIWebView and the site that it shows is kinda big and it has a lot of pictures and javascript, when I test it on a virtual device, it works. but on a real Iphone or Ipad it crashes after a couple of seconds, Xcode shows me the memory usage goes around 50 mb and the cpu usage goes up until 101% and the app crashes.
Is there a way to fix this without editing the website?