Tuesday, April 10, 2012

How to add fixed space between UIToolBar items


Create Barbutton with UIBarButtonSystemItemFixedSpace   

UIBarButtonItem *fixedSpace = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];
fixedSpace.width = 40;


And add this item to the item array

No comments:

Post a Comment