facebook

iphone5 / Ipad background Image Size

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #344558 Reply

    Mikelv001
    Member

    Guys-

    Ok…I’ve figured a way to keep my flash screens, and have my apps work and look great on the 4 and full size 5 screens. My last glitch is the ipad.

    In the past, with startup screens enabled, my apps would render on the ipad at the same size as 5, in the middle of the ipad screen (with black in the unused area). Now, the background image is stretching to fit the entire ipad screen. I don’t see how to use auto-resize to force the background image to remain 640×1136 resolution at the 320×586 size – it’s filling the entire screen, regardless if the flash screen is enabled or not.

    If you’re in the design center, open the 5, drop in a 640×1136 image as the background, then toggle the device to an ipad, you’ll se what I mean – the image is stretched to fit the entire screen.

    I’d like to keep the apps as they were – the size of the 5, on the full ipad screen.

    Any ideas?

    Mike

    #344658 Reply

    Mikelv001
    Member

    Guys-

    Ok I fixed my previous problem by changing the background style from image to solid color white, adding an image widget, maxing it to the entire screen size, pushing to the bottom layer, and controlling the new widget by auto-resize. That was the way to create a 5 layout size on the full ipad screen, with black in the areas outside of the 5 display area.

    Over the past 14 months, this has been an agonizing process. I get an app running perfectly fine, get them to itunes, then a software update comes out, then I update my apps…..then I spend days going backwards trying to get the app running correctly in the new software.

    My latest problem is the same as what we tackled 10 months ago. These apps tend to have a lot of information across many linked screens and scrolling lists, and the apps would lock up after running back and forth through the app. I’m sure you remember; the history is in these boards. After several weeks you gave me an patch/update which solved the problem. Fast forward to today, and I’ve got the app’s data updated, the layouts working for 5’s and ippads….and while I’m testing the final provisional versions….they crash and close after about 30 seconds of going back and forth.

    Previously you provided your apple device ID’s so you could run the apps and confirm they were locking. This happens on the ipad, 4S and 5S.

    Please help.

    Mike

    #344668 Reply

    support-michael
    Keymaster

    Hi,

    Yes we recall investigating your app and discovered a complex series of issues that would cause your app to run out of memory (out of memory errors). In general developing large apps (many screens, lots of images) requires much more attention to how you use the device’s resources since it much more constrained than a desktop browser. For example scrolling a screen with a large image and gradient colors requires the device to rerender dirty segments of the UI quickly. Depending up on the graphics and how they are optimized or not optimized by the device and os (run on gpu or on cpu) has lot of effect on the user experience.

    >Fast forward to today, and I’ve got the app’s data updated, the layouts working for 5’s and ippads….and while I’m testing the final provisional versions….they crash and close after about 30 seconds of going back and forth.

    To investigate this will require the entire project and the html architecture settings used to create it. We need the project to see what resources are used and how they are used. If we can not replicate the issue will then escalate to be able to install your version of the app.

    #344678 Reply

    Mikelv001
    Member

    Hi Wayne-

    Thank you for your quick reply.

    I just emailed the entire Vegas Spas app to your support email. Navigate to the main screens folder, and the startup screen is “Vegas Spas”.

    Let me know what you find 🙂

    Mike

    #344806 Reply

    Mikelv001
    Member

    Good Morning Guys-

    Any updates?

    Mike

    #344808 Reply

    support-michael
    Keymaster

    hi mike,

    I ran your project on an iphone5s for an last hour – no crash, nothing. Works normal atm (nice work). Is there a specific scenario that you have found that causes the app to crash?

    What devices/os versions are you testing on where crash occurs?
    How much memory is available on the device? On my iphone5s (16G) I have maxed it out to see how your project performs with only 1G free available (no change).

    A minor layout suggestion is you may consider is using a variable height panel. To do this anchor the top and bottom edges (fix the margins) of the list’s panel and the panel’s margins will be maintained for any size display as shown: See attachment margins.png

    Attachments:
    You must be logged in to view attached files.
    #344813 Reply

    Mikelv001
    Member

    Hi Wayne-

    I tested the provisional build on a 4s, 5s and Ipad, and after 5 minutes or so navigating back and forth the app simply closed – not locked up – on every device. I did the build after a period of 1-2 days when mobione was acting up and builds were stalling out – i’ll retry the build and let you know what I find.

    I appreciate your comments on the scrolling screen height – I initially did that but ran into a problem, let me get your thoughts.

    Previously, when the 5’s first came out, apps set up for a 4 screen size would neatly appear on the 5 with a black band below the 4 screen size – this was the issue you helped me with a few weeks ago. Similarly, on a ipad, the app would appear neatly centered on the ipad screen with the 4’s dimensions, and black areas all around. Not true any longer.

    I want these to run on 4’s, 5’s and ipads, and now the apps naturally try to stretch to whatever the device size is. With the scrollpanel set to automatic, your advice works – the screen will fit both 4 and 5, and also works with the background image. The background image is jpeg 1050 high, so when it crunches down to 960 on a 4 or stretches to a 1136 on a 5, the distortion is very minor. But the problem is an ipad. Right now, I’ve set the app to appear centered at the top of the ipad screeen to the same dimensions of an 5 – it looks weird scaled across an entire ipad screen (plus the background images are totally jacked up bc the proportions are different). If I keep the auto dim, on an ipad the scrolling screen runs all the way to the bottom of the ipad screen – which wouldn’t be bad except the background image is only 1136 high. Take a look when you toggle between devices in the design center.

    I tried locking the scrolling panel to the exact height of the 5 – which works on the 5, and the ipad….but not the 4. The 4 screen will clip off any information at the bottom of the scrolling screen bc of the differences in height.

    As I write this, maybe I lock the size to the 5, and add blank spaces to the bottom of the scrolling screen (88 points) to make up for the difference between the 4 and 5, so when the 4 clips the bottom of the scrolling screen the last widget fits neatly of the 4’s screen?

    Thoughts?

    Mike

    #344814 Reply

    support-michael
    Keymaster

    >Thoughts?

    Will try the app out on several other ios devices and see if I can experience a crash scenario.

    As for multi-device layout choose what you’re comfortable supporting and go with it. I was hesitant to make that suggestion to avoid confusing you.

    #344835 Reply

    Mikelv001
    Member

    Good Morning Wayne-

    I’ve rebuilt with the app with a ad hoc provisioning profile certificate, loaded on the 5S and after 5 mins or so, the app closes. When I nav through, I’m hitting all the screens, including maps, website. This is built under AJAX, and the 64G 5S has 33G free.

    Thoughts?

    Mike

    #344949 Reply

    Mikelv001
    Member

    Hi Wayne-

    Hope your holidays were relaxing, and you got some time away from these “Help Boards” 🙂

    You have the spas app, and i’ve finished updating the next much larger Restaurants guide app. Both are failing in the exact same way – they simply close on the 4s, 5S and iPad Air.

    Both are built under AJAX; both are fine / do not crash if I just navigate between the screens. They both crash if I go to the ‘location’ screens and access the map, then access the website link, then nav back, then nav down to a different map & website, etc. After accessing 4-5 maps and websites, then they close.

    Thoughts?

    Mike

    #344963 Reply

    Hi Mike,

    Late yesterday we replicated the crash and are investigating it now. Will provide more info as soon as we isolate the cause of the crash.

    #344971 Reply

    @Mike,

    Update: We found out that the app is crashing due to out of memory error. We suspect this is a cordova error and are looking closely at the Cordova InAppBrowser and memory management as the root cause (but we have not confirmed it yet).

    #344984 Reply

    Mikelv001
    Member

    Hi Octavio-

    Thank you for the update.

    Do you think there’s a potential fix?

    Mike

    #345004 Reply

    Hi Mike

    We prematurely concluded the source of the problem with your app. With additional testing we have ruled out our initial hypothesis and are continuing our investigation. We will continue to provide periodic status updates as we make progress.

    #345168 Reply

    Mikelv001
    Member

    Good Morning Guys-

    Any progress or updates with my problem? Thank you for your help-

    Mike

Viewing 15 posts - 1 through 15 (of 26 total)
Reply To: iphone5 / Ipad background Image Size

You must be logged in to post in the forum log in