IMPLEMENT STATUS BAR AND NAVIGATION BAR ON TOP OF UIVIEW

zack mathews

Total Post:23

Points:161
Posted by  zack mathews
 599  View(s)
Ratings:
Rate this:

My problem is with the status bar and navigation bar, I am unable to came both on top of UIView.
how can i implement both in a proper way, Please help me to over come this problem?

  1. Tarun Kumar

    Post:214

    Points:1642
    Re: Implement Status bar and Navigation Bar on top of UIView

    If you are using translucent status bar and a translucent navigation bar then your problem’s solution is here:
    To set the status bar use:

    [[UIApplication sharedApplication] setStatusBarStyle:
                                       UIStatusBarStyleBlackTranslucent];

    To set the navigation bar use:

    theNavigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;

      Modified On Sep-29-2015 11:30:35 PM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!