Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Game Center break Unity game orientation

Discussion in 'iOS and tvOS' started by pokeking, Apr 14, 2016.

  1. pokeking

    pokeking

    Joined:
    May 13, 2015
    Posts:
    42
    I'm using Game Center to make leaderboard in game now, but i got a problem: even i set portrait orientation when build in Unity and Xcode, but when i login to Game Center, it change game's orientation to device's orientation. My game set in portrait, so when change to landscape orientation, it break the image and structure in game :(
    I got the same problem when share Twitter, so anyone can fix it ?
    Beside that, now i share Twitter with text and image, and it become a problem when i push Home button and back to game again: the screen became black (like when i share, but there is no share pop up and keyboard now). It became invisile (i can still touch to show, but it disapear in 1 seconds). I was okay with share before i push Home button and back to game.
    Sorry for my English, please feed back for me soon
     
  2. ivan3d

    ivan3d

    Joined:
    Sep 5, 2015
    Posts:
    2
    Last edited: Aug 30, 2016