facebook

iphone5 height of designer wrong

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    shaiman
    Member

    The actual viewport height of the iPhone 5 is 568 pixels. The maximum size I can create on the designer is 548 pixels, leaving a gap when put out to the app of 20 pixels at the bottom. This creates a white stripe on the bottom. If I change the toolbar position from a y position of 504 to a y position of 524 by hand editing the css output, I can correct the problem, but what a pain. Why is the designer apparently an incorrect size?

    #339302

    support-michael
    Keymaster

    @shaiman

    > Why is the designer apparently an incorrect size?

    I posted to someone yesterday (was it you) that is manually building their own apps with the iOS status bar hidden that MobiOne layout engine assumes the status bar is present and compensates for it. The dev team is working on a config option that you can set the status bars state to visible/hidden. This will be in the next release.

    #339308

    shaiman
    Member

    Thanks for the response. I’m assuming then that the only way I can properly display the page is to hand edit the CSS at this time correct?

    #339310

    support-michael
    Keymaster

    An alternative to touching the css is to adjust the layout in phoneui.js. Make the following change at line 218:

    // Take statusbar into account
        var bb = 20;
    
    to 
    
        // Take statusbar into account
        var bb = 0;
    
    #339325

    shaiman
    Member

    THAT TOOK CARE OF IT!!! THANKS!

    #339326

    support-michael
    Keymaster

    @shaiman

    We are testing a dev version that we plan to release later today if all goes well. It will include a phoneui.js config option to identify to the layout engine if status bar should be accounted for. Thus you will not need to modify the phoneui.js file per the hack above.

    #339327

    shaiman
    Member

    Great! Thanks again. Please let me know when I can download it and I’ll let you know how it works in our environment.

    #339386

    Hi shaiman,

    Mobione 2.5 dev-5 is available. It includes the m1Design.fullScreenMode boolean property that you need.
    You can find more information about it here: http://www.genuitec.com/support-genuitec/viewtopic.php?f=2&t=5619

    Let us know how it goes for you. Your feedback is really appreciated.

    #348610

    Hi Guys,
    I’m trying to have full-screen app and the method with setting “_isInFullScreenMode : false,” to true dosn’t work.
    I have latest Mobione 2.6.2 and I test apps on iPhone 4s.
    was there any update since this year?
    Thanks

    #348635

    Hi Dmitry,

    At this time the setting is a NOP. MobiOne apps do not support hiding the ios status bar.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: iphone5 height of designer wrong

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