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

Total Post:27

Posted on    January-29-2016 7:14 AM

 iPhone iPhone  Ios  Objective C 

 1 Reply(s)
 762  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:214

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