ios - Xcode UINavigationBar Text font and color -


this question has answer here:

i want change color , font of uinavigationbar title. how can either code or interface builder ? might easy 1 i'm new xcode. helping.

for coding part, can initiate title view label.

uilabel *mylabel = [[uilabel alloc] initwithframe:cgrectmake(0, 0, 10, 40)]; [mylabel setfont:[uifont fontwithname:@"arial" size:12]]; [mylabel settextcolor:[uicolor whitecolor]]; [mylabel settext:@"my text here"]; [**your navigation bar**.topitem settitleview:mylabel]; 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -