1

How would I go about creating a navigation bar which looks like this:

https://i.stack.imgur.com/bbaCz.png

It's more flat than the default bar, and the dropshadow inside the title also seems different.

John Smith
  • 646
  • 1
  • 9
  • 30

1 Answers1

5

You'll need to create some custom resources and use them either with a -drawRect: override, or if you are okay targeting only iOS 5, UIAppearance.

These links should help.

  1. Create A Custom UINavigationBar Style
  2. Custom nav bar styling - iOS

Edit: also for the title text, you'll want to add a custom UILabel setup how you like as the titleView of the navigation controller. Or for iOS 5 you can use the titleTextAttributes on UINavigationBar.

Community
  • 1
  • 1
axiixc
  • 1,962
  • 18
  • 25