Created
February 11, 2013 22:10
-
-
Save fmundaca/4758078 to your computer and use it in GitHub Desktop.
Poner una imágen como título de una UINavigationBar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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