Forums

OverviewFelgo 2 Support (Qt 5) › ios splash screen iphone 7

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16169

    Bas

    hi,

     

    when using the default splash screens on ios, in emulator iphone 7 plus the splash screen of landscape is hown.

    any ideas?

    #16173

    Günther
    Felgo Team

    Hi Bas!

    There is probably an issue with your Project-Info.plist configuration of the launch images.

    You can create a new empty Felgo Apps project with the Project Wizard in Qt Creator and have a look at the configuration of the Project-Info.plist as a reference. Does the correct Launch Image show when using the configuration of a fresh Felgo project?

    Best,
    Günther

     

    #16174

    Bas

    hi Günther,

    i checked number of splash screens with a fresh project and pllist items and they are exactly the same.

    tested with the empty test project and with iPhone 7 plus it takes the landscape version of the splash screen.

     

    so it goes wrong with the iphone 7 plus, iphone 7 goes well

     

    gr, Bas

    #16177

    Günther
    Felgo Team

    With the iPhone 7 Plus Simulator I see the correct splash (portrait or landscape) being loaded depending on whether the device was in portrait or landscape when the app is started. For apps that only allow portrait the Landscape splash is never used in my tests.

    This is how the launch-image plist configuration is set up:

    <key>UILaunchImageFile</key>
        <string>Def.png</string>
        <key>UILaunchImages</key>
        <array>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{320, 480}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def-568h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{320, 568}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Def-667h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{375, 667}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Portrait-736h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Portrait</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Landscape-736h</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Landscape</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
        </dict>
        </array>

    Does this match your plist settings where the wrong splash is shown?

    Best,
    Günther

    #16179

    Bas

    no it does not, i installed a fresh v-play yesterday and i get this:

     

       <key>UILaunchImageFile</key>
        <string>Def.png</string>
        <key>UILaunchImages</key>
        <array>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{320, 480}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def-568h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{320, 568}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Def-667h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{375, 667}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Portrait-736h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Portrait</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
        </dict>
        </array>

     

    #16210

    Günther
    Felgo Team

    That’s okay, the setting you posted is the configuration for apps that do not use landscape at all, so the launch-images for landscape are not included.

    I see the correct launch images on macOS Sierra, Xcode 8.3, Simulator 10.0 for iPhone 7 Plus with this configuration.
    Are you using the latest XCode and iPhone Simulator for building and testing?

    Cheers,
    Günther

    #16223

    Bas

    hi Gunhter, i added

    <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Def-Portrait-736h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
        </dict>
    
    and an image Def-Portrait-736h.png and it is working now!
    my app can handle portrait and landscape
    so when starting, in portrait i want to see a splash screen also in portrait.
    thanx for the plist
    
    
    
Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support