Created
November 12, 2012 05:46
-
-
Save ttsubono/4057699 to your computer and use it in GitHub Desktop.
NavigationBarに閉じるボタンを置く
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
UIBarButtonItem *closeButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"閉じる" | |
style:UIBarButtonItemStyleBordered | |
target:self | |
action:@selector(close:)]; | |
self.navigationItem.leftBarButtonItem = closeButtonItem; | |
[closeButtonItem release]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment