iPhone X slow transitions (Xcode Bug) and not full screen (solved)

iPhone X slow transitions (Xcode Bug) and not full screen (solved)
0.0 0

#1

I downloaded the golden master of Xcode 9 (with cocos 3.15.1). My main issue are:

  • very slow transitions in emulator
  • not full screen on iPhone X

Does anybody had same issues or know how to fix it?


#2

Same, thats just bad… Apple did something wrong… no other comments.


#3

Whenever there is major OS (iOS/Android) update, always headache for developers. :wink:


#4

Can you show screenshot how it looks? Don’t have golden master and I’m just curious :slight_smile:


#5

The screen is letterboxed.

@KAMIKAZE Also slow transitions or only wrong screen size?


#6

Did you modify the info.plist?


#7

I added fabric (Crashlytics) or do I need to change for iOS 11/iPhone X something special?


#8

This is my screen.
41

I will now test an empty project.

Edit:
The hello world project has same (wrong) ratio.

Edit 2:
I was not sure, if the problem is related to landscape, so I switched to portrait mode. Same issue.
42


#9

One part (weird scaling) can be fixed with a launch screen storyboard.

09

22

Still open: very slow transitions and animations.


#10

You can also fix it by specifying a launch image with the correct file name.


#11

And what is the correct file name?


#12

I’m still trying to get the GM downloaded. I’ll update this thread once I have it.


#13

https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/launch-screen/


#14

I finally got the GM downloaded!


#15

I think we should use storyboard for launch screen as this doc says. Then we don’t have to adapter different resolutions everytime.

@mars3142 the speed issue is related with Xcode. You can create an empty app using Xcode template to test it. And there is an issue in Apple developer forum about it.


#16

@zhangxm Nice, to see that it is not my fault with Xcode 9. Sadly your link to the issue isn’t working anymore. And it’s great that you will switch with cocos2d-x to storyboard for the launch screen in the future.


#17

Link to the issue is working fine for me.


#18

@mars3142 i just opened the link, it works. May be you should login to open it. And @dumganhar will send a PR to use storyboard. Only one splash image is needed for every resolution.


#19

I tried Default-812h.png, but doesn’t work. Storybard launchscreen is the solution. https://forums.developer.apple.com/thread/86816


#20

Yep, storyboard is the only resolution for iPhone X.