Skip to content

Instantly share code, notes, and snippets.

@fmundaca
Created February 11, 2013 22:10
Show Gist options
  • Save fmundaca/4758078 to your computer and use it in GitHub Desktop.
Save fmundaca/4758078 to your computer and use it in GitHub Desktop.
Poner una imágen como título de una UINavigationBar
// Create your image
UIImage *image = [UIImage imageNamed: @"logo.png"];
UIImageView *imageview = [[UIImageView alloc] initWithImage: image];
// set the text view to the image view
self.navigationItem.titleView = imageview;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment