ios - Xcode UINavigationBar Text font and color -
this question has answer here:
- iphone navigation bar title text color 31 answers
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
Post a Comment