Kuldeep1007tanwar Kuldeep1007tanwar - 1 year ago 92
iOS Question

Removing unnecessary titles and icons at the top of iOS Simulators

I'm new to iOS and my question will seem little bit confusing to you but it make sense I'm working on a project where I have to use a custom NavigationBar while I was working on that I saw these icons and title at the top

enter image description here

and as the requirement of my project I need a Bar like this

enter image description here

and you can see the word slightly overriding my button (the red bar is not a part of my button). so my question is, is there any way we can remove these buttons from our simulator because I noticed when i click on the back button sometimes it'll not work due the fact I was clicking on the that "Carrier" title. Soo is there anyone who knows something about it and please don't suggest me to resize the button or something like that it's not my point if you understand.

Answer Source

As Nobody have Answered it yet let me tell you the answer that I find working:-

To hide status bar in iOS7 you need 2 lines of code

  1. in application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions write

     [[UIApplication sharedApplication] setStatusBarHidden:YES];
  2. in info.plist add this

     View-Controller Based Status Bar Appearance = NO
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download