facebook

iPhone 4 view on iphone 5

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

    DinoCrivelli
    Member

    Dear Support-Team, dear MobiOne Users

    Apps which I created on the older version of MobiOne, are represented on an iphone 5 automatically the same size as on the iphone 4 and that was good. There is a black bars top and bottom. they do not disturb.

    Even if you cannot understand my ;o), how can I set this with the newer versions of MobiOne, that the apps do not resize of the whole screen of iphone 5, however on android devices already?

    the iphone 5 format is simply not logical and I would not to create two apps so it looks clear.

    Thank you for a fast feedback, sorry my switzerland-bing english und have a nice day

    Dino

    #337051 Reply

    Unknown Author
    Participant

    This is the approach I’ve taken since autoscaling is not an exact science and users are unforgiving.

    1. Create a Homepage.mobi file that is a solid color background – the same solid color as your loadscreen.

    2. Include Homepage_iphone4.mobi and Homepage_iphone5.mobi in the project (bottom of the properties for Homepage.mobi).

    3. In Hompage_custom.js, do this:

     
    phoneui.documentReadyHandler = function() {
    
    n=window.screen.height;
    
    if (n < 500)
    {
      phoneui.gotoPage('m1-Homepage_iphone4', 'NONE');}
    if (n > 500)
    {
      phoneui.gotoPage('m1-Homepage_iphone5', 'NONE');}
    }
    

    You are now free to create two or more seperate versions of your app and roll them into one compilation.

    #337264 Reply

    DinoCrivelli
    Member

    Hi 1thinchip

    Thank you very much.
    Is not just it what I’ve been looking, but is certainly a good alternative opportunity.

    many greetings
    Dino

    #337265 Reply

    Unknown Author
    Participant

    I like it because it gives you a lot of options. If you’re using a map widget, you can have a bigger map on an iPhone 5 screen. You can also roll different versions into one executable. So, you can use the same executable for the iphone and ipad versions of your apps.

    #338399 Reply

    DinoCrivelli
    Member

    It works!

    Thank you very much for the tip!

    I use only this method. If any of you are interested in a few works by us is to look at? Am interested in your opinion.
    We are a Club and support projects for people with a limited budget. We help you attract new customers

    Greetings
    Dino

    http://www.venobilis.com

    Sorry I do not know whether may use a Link one in this forum. Otherwise just delete

    #343665 Reply

    RichardOne
    Member

    Hi,

    Not got a file example have you? 😉

    #343668 Reply

    Unknown Author
    Participant

    Just follow the instructions in my post above. Create your own example.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: iPhone 4 view on iphone 5

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