使用时需要注意创建方式的区别:
02 | UIBarButtonSystemItemDone, |
03 | UIBarButtonSystemItemCancel, |
04 | UIBarButtonSystemItemEdit, |
05 | UIBarButtonSystemItemSave, |
06 | UIBarButtonSystemItemAdd, |
07 | UIBarButtonSystemItemFlexibleSpace, |
08 | UIBarButtonSystemItemFixedSpace, |
09 | UIBarButtonSystemItemCompose, |
10 | UIBarButtonSystemItemReply, |
11 | UIBarButtonSystemItemAction, |
12 | UIBarButtonSystemItemOrganize, |
13 | UIBarButtonSystemItemBookmarks, |
14 | UIBarButtonSystemItemSearch, |
15 | UIBarButtonSystemItemRefresh, |
16 | UIBarButtonSystemItemStop, |
17 | UIBarButtonSystemItemCamera, |
18 | UIBarButtonSystemItemTrash, |
19 | UIBarButtonSystemItemPlay, |
20 | UIBarButtonSystemItemPause, |
21 | UIBarButtonSystemItemRewind, |
22 | UIBarButtonSystemItemFastForward, |
23 | #if __IPHONE_3_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED |
24 | UIBarButtonSystemItemUndo, |
25 | UIBarButtonSystemItemRedo, |
27 | #if __IPHONE_4_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED |
28 | UIBarButtonSystemItemPageCurl, |
30 | } UIBarButtonSystemItem; |
图片如下:
UIBarButtonSystemItemAdd
UIBarButtonSystemItemCompose
UIBarButtonSystemItemReply
UIBarButtonSystemItemAction
UIBarButtonSystemItemOrganize
UIBarButtonSystemItemBookmarks
UIBarButtonSystemItemSearch
UIBarButtonSystemItemRefresh
UIBarButtonSystemItemStop
UIBarButtonSystemItemCamera
UIBarButtonSystemItemTrash
UIBarButtonSystemItemPlay
UIBarButtonSystemItemPause
UIBarButtonSystemItemRewind
UIBarButtonSystemItemFastForward
UIBarButtonSystemItemUndo
UIBarButtonSystemItemRedo