self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"TITLE GOES HERE" style:UIBarButtonItemStyleBordered target:self action:@selector(functionToCallOnClick)];
I have created this blog to help programmers who have just started their career thats why I have written all the tutorials from practical approach rather then theoretical. If anyone has any query related to programming don't hesitate to ask. My contact information is in my profile. Also I would like to thank all the websites/Individual(s) from whom I gathered the material.
Monday, November 28, 2011
iPhone – Set or change title of UIBarButtonItem
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"TITLE GOES HERE" style:UIBarButtonItemStyleBordered target:self action:@selector(functionToCallOnClick)];
Posted by
Zeeshan Ahmed Khan
at
11/28/2011 11:10:00 AM
Labels:
bar button,
cocoa,
ipad,
iphone,
ipod,
ipod touch,
Navigationbar,
navigationitem,
objective-c,
objectiveC,
title,
UIbarButtonItem,
UINavigationbar,
UINavigationItem,
xcode
Subscribe to:
Posts (Atom)