HOW TO CREATE TRANSPARENT NAVIGATION BAR IN XCODE?

Glen Martin

Total Post:27

Points:191
Posted by  Glen Martin
 831  View(s)
Ratings:
Rate this:
I want to make our UINavigationBar as transparent without loosing bar items visibility in our iphone application.
  1. Tarun Kumar

    Post:214

    Points:1642
    Re: How to create transparent navigation bar in Xcode?

    If you want to make transparent navigation bar then here, I will tell you two types of transparency level. First one is setting navigation Bar Metrics and second one by setting navigation bar property translucent to YES.

    // Bar metrics example:
    [self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetricsDefault];

    // Translucent example:
    self.navigationController.navigationBar.translucent = YES;

Answer

NEWSLETTER

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