Skip to content

Instantly share code, notes, and snippets.

@zengyun-hacker
Last active December 23, 2015 17:19
Show Gist options
  • Save zengyun-hacker/6668135 to your computer and use it in GitHub Desktop.
Save zengyun-hacker/6668135 to your computer and use it in GitHub Desktop.
set navigation bar background image
//call this in didFinishLaunchingWithOptions of appdelegate
[[UINavigationBar appearance] setBackgroundImage:#background image# forBarMetrics:UIBarMetricsDefault];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment