in my app in a web view page i am trying to load images from an html string. There are around 27 images. The app is getting crashed and in the error report it says as memorywarning2. How to overcome this problem….Please help me friends
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re probably loading too many, too large images into memory at one time.
Unless you really need a web view, you could use
UIImageViews in aUIScrollViewand handle the memory usage yourself.If you must use a web view, maybe you could use smaller images.