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. Dismiss Notice

How do i get rid of status bar on iPhone?

Discussion in 'iOS and tvOS' started by yoonitee, Aug 11, 2014.

  1. yoonitee

    yoonitee

    Joined:
    Jun 27, 2013
    Posts:
    2,364
    So I'm running my game in the iPhone simulator, and it has at the top:

    Carrier o)) 16:24 Battery [ ]

    Is there a way to get rid of this? It's covering up some of my UI! I have status bar set to "hidden" in Unity.
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    Click File -> Build Settings... and on the window that opens, click Player Settings. Alternatively, go to Edit -> Project Settings -> Player.

    In the sidebar window that opens, open the third tab (iOS), and open the Resolution and Presentation accordion. Scroll down until you see the section for Status Bar, and check the box next to Status Bar Hidden.
     
  3. yoonitee

    yoonitee

    Joined:
    Jun 27, 2013
    Posts:
    2,364
    Yes, that's all ready checked. Maybe it's because I'm using an older copy of Unity? 4.2?
     
  4. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    I know there was a bug in previous versions of Unity where the status bar would show up on iOS 7, but it was fixed shortly after iOS 7 was released. Is Unity 4.2 older than that?
     
  5. yoonitee

    yoonitee

    Joined:
    Jun 27, 2013
    Posts:
    2,364
    Yes. You're right. I just found a fix here. Probably should just update my projects, but then they're all working right now. And if it ain't broke...
     
  6. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,571
    You're right about updating if it ain't broke, but yours appears to be broke!

    Make a backup of your projects (which you should be doing anyway) and copy your Unity app folder. That makes it easy to go back if updating does break something.