Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by HelloNan · Jun 20, 2013 at 08:15 AM · iosorientationsplash screenlandscape

How to make "Splash Screen" auto rotate on IPhone ?

Someone said Apple will reject for non-rotating Unity splash screen. So I find ways to solve it, but there is seldom infomation about this.

Now I have already solved IPad "Splash Screen" rotate, but not work on IPhone, Hope someone can help me.

My IPad method is to update UISupportedInterfaceOrientations/(IPad) at XCode plist file. Set UIInterfaceOrientationLandscapeLeft and UIInterfaceOrientationLandscapeRight, then the IPad will rotate OK. However, I tried the same way on UISupportedInterfaceOrientations/(IPhone), But UISupportedInterfaceOrientations/(IPhone) not work on IPhone.

My unity version is 3.5.6

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HelloNan · Jun 21, 2013 at 01:22 AM 0
Share

I mean "Splash Screen" before game start, $$anonymous$$y game rotate ok after the game start, just the "Splash Screen" not rotate.

$$anonymous$$y game is LandscapeRight and LandscapeLeft, just this two side rotate.

avatar image HelloNan · Jun 21, 2013 at 01:23 AM 0
Share

The information Link: http://forum.unity3d.com/threads/47453-iPad-game-just-rejected-for-non-rotating-Unity-splash-screen/page3

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by DannyB · Jun 20, 2013 at 01:37 PM

Where are you getting your information from?

You do not need to code anything. Let Unity handle it for you and set orientation to Auto Rotate in player settings.

See this answer

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HelloNan · Jun 21, 2013 at 01:21 AM 0
Share

I mean "Splash Screen" before game start, $$anonymous$$y game rotate ok after the game start, just the "Splash Screen" not rotate.

$$anonymous$$y game is LandscapeRight and LandscapeLeft, just this two side rotate.

avatar image HelloNan · Jun 21, 2013 at 01:23 AM 0
Share

http://forum.unity3d.com/threads/47453-iPad-game-just-rejected-for-non-rotating-Unity-splash-screen/page3

avatar image DannyB · Jun 21, 2013 at 07:37 AM 1
Share

Ok, this thread is a pile of mess. Your splash screen does not need to autorotate. It does need to start in the correct orientation, and this is automatically handled by Unity.

Stop worrying about it, use the Unity setup as described above, remove any other orientation code, and go back to coding your game.

avatar image HelloNan · Jun 21, 2013 at 08:55 AM 0
Share

Your mean "set orientation to Auto Rotate"? I have set this, but it doesn't work on iphone. I select AutoRotate + LandscapeRight + LandscapeLeft. Not in the correct orientation when game start every time.

avatar image
0

Answer by slippdouglas · Apr 12, 2014 at 08:55 PM

It's not possible on iPhone/iPod touch.  The issue is that there is only one supported launch image orientation for iPhone and iPod touch, Portrait, as shown in this table within the iOS App Programming Guide (https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW17):

Technical Note TN2244, Table 5-4

If you look at the Default.png (below), Default@2x.png, and Default-568h@2x.png images Unity generates when you build for iOS, you'll see that the mitigation for the portrait-only restriction is to bake rotation into the image so that it appears to the user to have a landscape-right orientation.  If you have Unity Pro, you could easily rotate these to have the app appear to launch in landscape-left1 instead of right, but still adjusting at runtime to the device's orientation pre-`application:didFinishLaunchingWithOptions:` on non-iPad devices seems to be out of the question.

Default.png:
Default.png, with landscape-right rotation baked-in

Orientations, for reference:
Xcode Orientations

1: You many also need to change the order of the UISupportedInterfaceOrientations key's values within Info.plist and/or update SplashScreenController to accommodate the alternate orientation.  I don't have Unity Pro, so I can't devise and test a specific solution for you.  My apologies.


screen shot 2014-04-12 at 5.25.00 pm.png (36.1 kB)
default.png (37.2 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS orientation problem 1 Answer

How can I limit my app to specific orientations? 2 Answers

Is is possible for Unity 3D smartphone app to support multiple orientations 1 Answer

Android SplashScreen with language 0 Answers

iOS clickable splash screen 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges