iphone - Horizontally repositioning a UIBarButtonItem -
is possible reposition uibarbuttonitem that's in uinavigationbar horizontally? i've seen barbuttonitem setbackgroundverticalpositionadjustment:forbarmetrics: method (but that's vertical positioning), , know how if make custom button, how take uibarbuttonitem style uibarbuttonitemstylebordered , horizontally reposition (that is, move left or right)?
thanks in advance!
you can create fixed size button 'filler' , add beside existing button:
uibarbuttonitem *fixedspace = [[uibarbuttonitem alloc] initwithbarbuttonsystemitem:uibarbuttonsystemitemfixedspace target:nil action:nil]; (then set width desired value)
Comments
Post a Comment