2.系统自带按钮
枚举定义及样式解释如下:
typedef NS_ENUM(NSInteger, UIBarButtonSystemItem) {
UIBarButtonSystemItemDone, //Done英文字符
UIBarButtonSystemItemCancel, //Cancel
UIBarButtonSystemItemEdit, //Edit
UIBarButtonSystemItemSave, //Save
UIBarButtonSystemItemAdd, //图标1(加号图标➕)
UIBarButtonSystemItemFlexibleSpace, //?空白
UIBarButtonSystemItemFixedSpace, //?空白
UIBarButtonSystemItemCompose, //图标2(写字板上一支笔写字的图标)
UIBarButtonSystemItemReply, //图标3
UIBarButtonSystemItemAction, //图标4
UIBarButtonSystemItemOrganize, //图标5
UIBarButtonSystemItemBookmarks, //<span style="font-family: Menlo;">图标6</span>
UIBarButtonSystemItemSearch, //<span style="font-family: Menlo;">图标7</span>
UIBarButtonSystemItemRefresh, //<span style="font-family: Menlo;">图标8</span>
UIBarButtonSystemItemStop, //图标9
UIBarButtonSystemItemCamera, //图标10
UIBarButtonSystemItemTrash, //图标11
UIBarButtonSystemItemPlay, //图标12
UIBarButtonSystemItemPause, //图标13
UIBarButtonSystemItemRewind, //图标14
UIBarButtonSystemItemFastForward, //图标15
UIBarButtonSystemItemUndo NS_ENUM_AVAILABLE_IOS(3_0), //Redo
UIBarButtonSystemItemRedo NS_ENUM_AVAILABLE_IOS(3_0), //Undo
UIBarButtonSystemItemPageCurl NS_ENUM_AVAILABLE_IOS(4_0), //?空白
};
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
注:相关教程知识阅读请移步到IOS开发频道。










