Wednesday, 15 June 2011

ios7 - What is the default typography of a UINavigationBar text label in ios 7? -



ios7 - What is the default typography of a UINavigationBar text label in ios 7? -

i creating uilabel in custom view , want match typography (font , size) of default uinavigationbar labels.

like so:

uilabel *titlelabel = [[uilabel alloc] initwithframe:cgrectmake(0.0, 0.0, 160.0, 44.0) ]; titlelabel.textalignment = nstextalignmentcenter; titlelabel.textcolor = [uicolor whitecolor]; //titlelabel.backgroundcolor = [uicolor redcolor]; titlelabel.center = cgpointmake([self screenwidth] / 2.0, 42.0); titlelabel.font = [uifont fontwithname:@"helvetica-bold" size:(18.0)]; titlelabel.text = @"forgot password";

does know font , point size?

ios ios7 uinavigationbar uinavigationitem typography

No comments:

Post a Comment