Xcode中iOS的标准图像按钮图标

有谁知道我在哪里可以找到iOS的标准图像图标(添加,共享,刷新等)?更好的是,有人可以指导我将一个按钮添加到工具栏的简单示例吗?我似乎无法在任何地方找到一个.

谢谢

解决方法

使用 – (id)initWithBarButtonSystemItem:(UIBarButtonSystemItem)systemItem target:(id)target action:(SEL)action;将UIBarButtons添加到工具栏的方法.
UIBarButtonItem *barButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSearch target:target action:action];

这些是可用的类型

UIBarButtonSystemItemDone,UIBarButtonSystemItemCancel,UIBarButtonSystemItemEdit,UIBarButtonSystemItemSave,UIBarButtonSystemItemAdd,UIBarButtonSystemItemFlexibleSpace,UIBarButtonSystemItemFixedspace,UIBarButtonSystemItemCompose,UIBarButtonSystemItemReply,UIBarButtonSystemItemAction,UIBarButtonSystemItemOrganize,UIBarButtonSystemItemBookmarks,UIBarButtonSystemItemSearch,UIBarButtonSystemItemRefresh,UIBarButtonSystemItemStop,UIBarButtonSystemItemCamera,UIBarButtonSystemItemTrash,UIBarButtonSystemItemPlay,UIBarButtonSystemItemPause,UIBarButtonSystemItemRewind,UIBarButtonSystemItemFastForward,

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...