Home > DeveloperSection > Forums > How to create transparent navigation bar in Xcode?
Glen Martin
Glen Martin

Total Post:27

Points:191
Posted on    January-29-2016 7:14 AM

 iPhone iPhone  Ios  Objective C 
Ratings:


 1 Reply(s)
 463  View(s)
Rate this:
I want to make our UINavigationBar as transparent without loosing bar items visibility in our iphone application.


Tarun Kumar

Total Post:213

Points:1635
Supported
Posted on    February-01-2016 11:42 PM

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;


Don't want to miss updates? Please click the below button!

Follow MindStick