iOS Splash Screen Rotation

This would seem to be a stupid question, but, why won’t the splash screen autorotate when everything else after that seems to autorotate just fine? (landscape left and right, fyi)

Do you mean Unity's splash screen or your own splash screen after the Unity splash goes away (assuming you're using iPhone basic). Pretty sure the unity splash never rotates (we have no control over that).

Hi meanstreak. Yes, I was referring to the Unity Splash Screen (or the Custom Splash Image you can set in Unity PRO). And yes, we're using Unity PRO right now. Hmm, I guess we really don't have control over that image now, do we.

That's because float randomNumber = Random.Range(0, 16); creates a new local variable resulting in public field of the same name never being changed from it's starting value of 0.

2 Answers

2

My guess: The splash screen is just a wall paper shown before OpenGL is up and running. Thus there is no action available. I can’t remember an app having an animated splash screen - correct me if I am wrong.

That's the thing, I also don't remember any apps having a truly animated/interactive splash screen. At the very least, I know I'm not alone in that respect.

At least a small animation would be nice because Unity needs some time to start.

A number of apps have animated splash screens (for example, Angry Birds), but it would be something Unity would need to implement. Note that you need to make a distinction between the splash screen support that is built into iOS and subsequent splash screens. The built-in splash screen doesn't support autorotation. If Unity wanted to they could add support for animated splash screens, but it would be a feature they'd have to add. I suggest you post the request on http://feedback.unity3d.com/

Thanks for further confirming this thomasw. Heading over to the feedback section seems to be a good idea. Guess I'll just have to implement a custom splash screen for now. Thanks guys.

In XCode open Info.plist and look for UISupportedInterfaceOrientations

Add all 4 of the following items and the splash-screen will autorotate to every position:

UIInterfaceOrientationLandscapeLeft

UIInterfaceOrientationLandscapeRight

UIInterfaceOrientationPortrait

UIInterfaceOrientationPortraitUpsideDown

That doesn't do anything. It is also settable within Unity now.

What do you mean? Why are you referencing two versions of the .Net framework? That is not something you can/ should do. Double check you havent got duplicate or unnecessary assembly references