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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -