Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XcodeNewb

macrumors member
Original poster
As we know the iPhone will keep Safari running in the background which usually consumes about 17-24 MB of the ram at any given time.

If I have an application that opens a view that is basically a UIWebView with a URL loaded to it, it seems to take about 15 MB of ram to do this.

Is there any way to load a UIWebView and not take up so much of the system RAM to do it? All I am doing it a:

Code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:myURL]];

Does anyone have experience trying to optimize memory usage with a UIWebView?

Thanks
 
Is there any way to load a UIWebView and not take up so much of the system RAM to do it?

Other than unloading it when you're not using it, and avoiding memory-hungry web pages (images, JavaScript etc.), I'm afraid not.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.