Threaded View

    You found a bug! We've classified it as SDKTOOLS-315 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User VladimirTechMan's Avatar
    Join Date
    Jun 2012
    Location
    Russia
    Posts
    50
    Vote Rating
    4
    VladimirTechMan is on a distinguished road

      1  

    Default [Sencha Cmd] Add Default-568h@2x.png to Sencha Touch app template (for iPhone 5)

    [Sencha Cmd] Add Default-568h@2x.png to Sencha Touch app template (for iPhone 5)


    Ext version tested:
    • Sencha Cmd v3.0.2.288
    • Sencha Touch v2.1.0
    Description:
    • After creating a new Sencha Touch app with 'sencha generate app', folder resources/loading contains default "Sencha-style" PNG images for the startup screens of native iOS apps, both for iPhone and iPad -- it now has all the necessary versions of those except the Default-568h@2x.png file required for iPhone 5-ready native iOS apps.
    Steps to reproduce the problem:
    • Create a new Sencha Touch app with 'sencha generate app'
    • Build the app with 'sencha app build native'
    • Load the app on iPhone 5 and start the app
    The result that was expected:
    • Even with the default Sencha resources the app is able to start using the full screen resolution on iPhone 5 (i.e. 640x1136)
    The result that occurs instead:
    • The application starts fine, but in the "iPhone 4(S)"-resolution (i.e. 640x960)
    Possible fix:
    • Manually create a 640x1136 PNG file, name it Default-568h@2x.png and copy it to the Sencha Cmd installation (sub)folder, at the following (sub-)path: ./Cmd/3.0.2.288/plugins/touch/current/templates/App/resources/loading
    • You may use the attached PNG file for this purpose (if Sencha guys don't mind this quickly added unofficial version created from their other default PNG files)
    Attached Files