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 323623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:02:53+00:00 2026-05-12T09:02:53+00:00

I am creating a photo preview application – it has some photos in it.

  • 0

I am creating a photo preview application – it has some photos in it. When I had not a big amount of images, everything was fine. The app uses UIScrollView to switch between images, basing on the PageControl code example.

But now I added more pictures and I have some trouble with it – it consumes too much memory and my app starts getting app warnings and when I switch between pictures, it’s working too slow.

Is there a way to optimize my viewer to support a large amount of image files? I want to achieve something similar to iPhone Photos application – first a low detailed image is being loaded, and than it switches to medium detailed and at the end to high detailed. How is this being done?

Thank you in advance.

  • 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-05-12T09:02:53+00:00Added an answer on May 12, 2026 at 9:02 am

    If the memory problem has only begun recently when you’ve added more images to your application, then I would hazard a guess that either you are loading all of you images into the application simultaneously (which will eat up the limited memory quickly) or that your application is leaking memory.

    If you’re loading all the images simultaneously, a more efficient approach would be to load only the current image, and perhaps the images to be shown before and after the one shown. If this is the approach you’ve taken already, check for memory leaks.

    With regards to the images starting low res and gradually becoming clearer as the resolution increases; I’m not aware of anything that Apple provides to do this, but it should be a fairly easy process to accomplish. Create a tile of the image and when panning/scaling, use the tile instead. When the movement stops, show the high res image again.

    The reason the photo app on the iPhone takes this approach is likely two-fold: First the performance of the application will be better when panning and scaling a low resolution image; you only need to see the high resolution image when you stop moving the image around. Secondly, the battery on the device will take a smaller hit power wise when the application does less work (i.e. panning/scaling a low res image constantly, rather than a high res one).

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

Sidebar

Related Questions

I am creating a photo editor app where, at some point, the photo you
I am having some trouble creating a seamless photo grid. I have searched the
I am creating a Facebook application that will download all the photos in an
I am creating a photo application where the user selects and image from the
I'm creating a photo gallery website, and there are pages for browsing the photos,
i am creating photo frame application how can i merge photo and frame in
i am creating a facebook application which lets user to upload photo through html
I am creating an app related to photos and would like to get some
I'm creating an app, that is in some point turning photo library on. The
Is there any way creating a photo gallery using Listview control ? Im playing

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.