UIBarButtonItem系统默认风格形状
2016-04-07 16:51
537 查看
typedef NS_ENUM(NSInteger, UIBarButtonSystemItem) { UIBarButtonSystemItemDone, UIBarButtonSystemItemCancel, UIBarButtonSystemItemEdit, UIBarButtonSystemItemSave, UIBarButtonSystemItemAdd, UIBarButtonSystemItemFlexibleSpace, UIBarButtonSystemItemFixedSpace, UIBarButtonSystemItemCompose, UIBarButtonSystemItemReply, UIBarButtonSystemItemAction, UIBarButtonSystemItemOrganize, UIBarButtonSystemItemBookmarks, UIBarButtonSystemItemSearch, UIBarButtonSystemItemRefresh, UIBarButtonSystemItemStop, UIBarButtonSystemItemCamera, UIBarButtonSystemItemTrash, UIBarButtonSystemItemPlay, UIBarButtonSystemItemPause, UIBarButtonSystemItemRewind, UIBarButtonSystemItemFastForward, UIBarButtonSystemItemUndo NS_ENUM_AVAILABLE_IOS(3_0), UIBarButtonSystemItemRedo NS_ENUM_AVAILABLE_IOS(3_0), UIBarButtonSystemItemPageCurl NS_ENUM_AVAILABLE_IOS(4_0), };
使用方法
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemReply target:self action:@selector(addNewDetail)];
对应的图形
相关文章推荐
- 菜鸟成长记-QQ列表展示、UITableView强化
- [LigerUI]使用记录
- Java调用XML的方法:DocumentBuilderFactory
- arduino红外测距模块点亮一个LED灯
- Android系统开发之五:多线程编程详解(Handler ,Looper , Message , MessageQueue)
- 深度评测xcgui
- hdu 【4198】Quick out of the Harbour
- UITableView侧滑添加多个效果以及修改颜色
- UIImagePickerController 浅析
- 工程中报错或者警告一些情况及解决办法。例如:does not contain bitcode. You must rebuild it with bitcode enabled
- Errors running builder 'DeploymentBuilder' on project_java
- ueditor
- 解决:Failed to create 'build\outputs\apk\watch-debug-unaligned.apks': 拒绝访问。
- 你真的会用UITableView嘛
- 苹果官方xcode工程build设置指南
- UGUI 下拉滚动框
- 解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误
- 优化UITableViewCell高度计算的那些事
- UITableViewCell高度自适应探索--AutoLayout结合Frame
- IOS开发-UI学习-NSMutableAttributedString(带属性的字符串)的使用