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

  • Home
  • SEARCH
  • 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 3672216
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:34:54+00:00 2026-05-19T02:34:54+00:00

when my app starts it loads 60 images at a time in UIImageView and

  • 0

when my app starts it loads 60 images at a time in UIImageView
and it also loads a background music.

in simulator it works fine but in IPAD it crashes..

-(void)viewDidLoad
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

//img.animationImages = [[NSArray arrayWithObjects:

MyImages = [NSArray arrayWithObjects:
                       //[UIImage imageNamed: @"BookOpeningB001.jpg"],...... B099,nil];


//[NSTimer scheduledTimerWithTimeInterval: 8.0 target:self selector:@selector(onTimer) userInfo:nil repeats:NO];

img.animationImages = MyImages;
img.animationDuration = 8.0; // seconds
img.animationRepeatCount = 1; // 0 = loops forever
[img startAnimating];
[self.view addSubview:img];
[img release]; 

[pool release];

//[img performSelector:@selector(displayImage:) ];

//[self performSelector:@selector(displayImage:) withObject:nil afterDelay:10.0];
[self performSelector: @selector(displayImage) withObject: nil afterDelay: 8.0];
}


-(void)displayImage {

SelectOption *NextView = [[SelectOption alloc] initWithNibName:nil bundle:nil];

[self presentModalViewController:NextView animated:NO];
[NextView release];
}

Am i doing anything wrong ?
Is there any other alternative to load the local images faster in
UIImageView !

  • 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-19T02:34:55+00:00Added an answer on May 19, 2026 at 2:34 am

    I was doing something similar. Even if you quit all of the other apps on your iPad and manage to get it to run it will crash on you randomly.

    I fixed this by preload very small (like 5 or 6 k) gif images. Then when my user entered an area where the big image needed to be seen I loaded the full res pic as a jpg and released the object as soon as they were done with it.

    Now my app no longer has an issue on the simulator or the device and I do not have to have the user close everything.

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

Sidebar

Related Questions

I have an app that works fine. I'm trying to make one of the
I want to preload a lot of images when my app starts up, sort
I want to load multiple images when my app starts from a website (i.e.
When my iPhone app starts up, the main screen has a keyboard. Currently the
I have PhoneGap app running in Android. When the app starts, it inserts approximately
I have an app that starts out in the login screen and when you
I'm dealing with a bug relating to a C# WinForms app that starts up
I have a c# method in console app X this starts a process; console
My app has 5 tabs and starts with tab 1 selected. Another tabs contains
The app we're building has a simple button that starts a facetime session with

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.