ios - dynamically set navigation controller title -


i'm working core data, , part of app very similar default contacts app. there edit screen after contact in core data, , make title: [insert contact name here] s information". know can set title core data entity attribute doing: self.navigationcontroller.title = _athletesfullname; (property attribute under entity "athlete"). there way can

self.navigationcontroller.title = @"%@'s information",_athletesfullname; ? 

try code:

 self.navigationcontroller.navigationitem.title=[nsstring stringwithformat:@"%@ 's information",_athletesfullname]; 

Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -