iphone - adding icon between back button & title of navigation bar -
i want put icon side of title of navigation bar. i'd prefer not implement custom titleview, because i'll need create custom titleview each controller put on stack (and have pretty deep nesting). i'm adding uiimageview navigationbar. problem calculate icon's horizontal position. depends on width of button, has each time title. how calculate button frame? googling on seems doesn't bring reasonable results.
thanks in advance
you calculate size of label, text in , experiment button add on..
cgsize s = [label sizewithfont:_font];
Comments
Post a Comment