:: iDavidStudio ::..

Dev log

Uncharted UIBarButtonSystemItem

without comments



*Note: the id of the above buttons are from 100 to 109 (from left to right)

The above UIBarButtonSystemItems seem to be uncharted in the ios document. To list them use the following codes:


NSMutableArray *items = [NSMutableArray array];
UIBarButtonItem *item = nil;
for (int i = 100; i <= 109; i++) { item = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:i target:nil action:nil]; item.style = UIBarButtonItemStyleBordered; [items addObject:item]; [item release]; } item = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:110 target:nil action:nil]; item.style = UIBarButtonItemStylePlain; [items addObject:item]; [item release]; toolbar.items = items;

Written by admin

July 3rd, 2012 at 12:37 pm

Posted in Uncategorized

Leave a Reply

You must be logged in to post a comment.