Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7920365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:11:33+00:00 2026-06-03T16:11:33+00:00

I am developing a iPhone photo app in which there is one view, where

  • 0

I am developing a iPhone photo app in which there is one view, where I am showing all the images taken through that app with the help of uiscrollview.
First I simply loaded the scrollview with all the present images. But it made the app slow and also caused the crash giving the following warning:

Received memory warning. Level=2

I googled a lot and found that the reason for so may be loading such heavy images all together on a view are resulting in memory warning and crash afterwards. So I opt for the concept of lazy loading.

In which I was just loading the three images one at the center(currently shown to user) and the other two on either sides. I did that in following way:

   - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
     {
        pageNum = (int)(scrollView.contentOffset.x / scrollView.frame.size.width);
        pageNumber = floor(pageNum);
        [self setImages:pageNumber];      //setting three images
     }

Now there is no crash, no memory warning but the scroll has become quite rough with lots of jerks.

Please suggest me how to get rid the roughness or to show all the images same as iPhone ‘s default photo app.

Help is much appreciated.

Note:
1. No of images not known, can be unlimited.
2. Xcode 3.2.6
3. ios sdk 4.3

Please consider the link
[link]https://www.dropbox.com/sh/h0vwnhhx1acfcb5/W2TQ638udh
The link shows a video in which i have shown a photo scroller with lazy loading embedded. Some times it doesn’t loads the images so fast also scrolling has become rough.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:11:36+00:00Added an answer on June 3, 2026 at 4:11 pm

    this is low memry warning see these threads

    iPhone OS Memory Warnings. What Do The Different Levels Mean?

    http://www.iphonedevsdk.com/forum/iphone-sdk-development/92778-received-memory-warning-level-2-17mb-used.html

    iPhone Memory warning level=2

    "Received memory warning. Level=2" with 4.x?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am developing a app which contains feature like default photo browser in iphone.
I'm developing an iPhone app that creates a Photo Album to hold the pictures
I am developing iphone app which shares photos on social networks.For photo sharing I
I am developing iPhone application and In that application I've one TableViewController , and
I'm on developing iphone app that uses backend web service(django). To login the web
I'm developing an iPhone app that uses the built-in SQLite database. I'm trying to
I've been developing an iPhone app that uses a UIToolbar (in the context of
i am developing a mobile client to sync images from iphone photo gallery to
I am developing an application for iphone that will pick an image from photo
I'm developing a reference iPhone app that will contain many photos (ball park estimate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.