Welcome to iPadForums.net Guest - Click Here to Register

iPad iOS 3.2-4.2 image memory limit

This is a discussion on iPad iOS 3.2-4.2 image memory limit within the iPad Development forums, part of the iPad App Store category; Hi, I have a webview, where I've created a pageflipper using CSS3. This works great! Here's some info about my solution: - I have two ...

Register with iPad Forums
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    iPad Noob!
    Member #
    48173
    Join Date
    Apr 2011
    Posts
    1

    Question iPad iOS 3.2-4.2 image memory limit

    Hi,

    I have a webview, where I've created a pageflipper using CSS3.

    This works great!

    Here's some info about my solution:

    - I have two active divs I from change and to
    - The images displayed are rendered in a canvas tag
    - I preload two images ahead of the current page using a div with background image
    - I only allow the user to flip to the next page if the image has been loaded. So I set an onload callback method on the image to make sure the image gets loaded before flipping
    - The images are stored remotely and they are 200 kb

    Now, this implementation works for the first 20-25 200 kb remote images. After that, the onload method stops working.

    If I don't preload the images it works great. However, it takes too long to load the next page since it hasn't been preloaded.

    My theory is that the iPad just can't handle loading two of the same images.

    So I created a hash table that stored the pages that had been loaded using preloading. When trying to flip to the next page, I first checked the hash table if the page had been loaded. This solved my onload problem. However, when I did the flip the image wouldn't display before after 2 seconds even though it had been loaded.

    I've almost tried anything and I can't think of anything else. I've spent one week trying to fix this and I sincerely hope you guys have some input of what I can do.

    It works in iOS 4.3 but 3.2-4.2 doesn't work, which I would like to support.

    Thank you!

  2. Ads



Home | Forum | Active Topics | What's New

Advertisements

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Image Processing in iPad
    By rickjackson in forum iPad Development
    Replies: 0
    Last Post: 04-15-2011, 01:24 AM
  2. We Farm Friends Limit
    By AnibEoj in forum iPad Games
    Replies: 3
    Last Post: 09-29-2010, 12:21 AM
  3. Is there a limit on the number of apps?
    By Yoshiki UK in forum iPad General Discussions
    Replies: 3
    Last Post: 07-06-2010, 01:32 PM
  4. Is there no limit to the uses for an iPad?
    By Seadog in forum iPad General Discussions
    Replies: 6
    Last Post: 05-11-2010, 02:22 PM
  5. Replies: 1
    Last Post: 03-24-2010, 10:27 AM

Search tags for this page

ios app memory limit

,

ios application memory limit

,
ios html image height limit
,

ios image preload

,
ios preload images
,

ipad image limit

,
ipad image memory limit
,

ipad photo limit

,
limit for memory ipad
,
photo limit on ipad
,
preload image limit
,
solutions to ipad's memory restriction
Click on a term to search for related topics.

Tags for this Thread