iPhone开发技巧之私有API(4)--- UIBarButtonItem
来源:互联网 发布:知乎 瘦身塑型 编辑:程序博客网 时间:2024/05/16 10:20
今天介绍一下 UIBarButtonItem 的特殊用法。
如上所示,UIBarButtonSystemItem 的 100 ~ 110 就是系统提供的一些未公开的标准icon。
123456789101112131415
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;
- iPhone开发技巧之私有API(4)--- UIBarButtonItem
- iPhone开发技巧之私有API--- UIBarButtonItem
- iPhone开发技巧之私有API--- UIBarButtonItem
- iPhone开发技巧之私有API--- UIBarButtonItem
- iPhone开发技巧之私有API--- UIBarButtonItem
- iPhone开发技巧之私有API--- UISegmentedControl
- iPhone开发技巧之私有API--- UITableView
- iPhone开发技巧之私有API--- UIApplication
- iPhone开发技巧之私有API
- iPhone开发技巧之私有API(2)— UITableView
- iPhone开发技巧之私有API(2)--- UITableView
- iPhone开发技巧之私有API(3)--- UIButton
- iPhone开发技巧之私有API(5)--- UISegmentedControl
- iPhone开发技巧之私有API(8)--- UIApplication
- iPhone开发技巧之私有API --- 设备相关信息
- iPhone开发技巧之私有API — 设备相关信息
- iPhone开发技巧之私有API — 设备相关信息
- 转:iPhone开发技巧之私有API(1) — 设备相关信息
- iPhone开发技巧之私有API(2)--- UITableView
- eclipse源码编译的apk开发,使用系统签名机制.
- iPhone开发技巧之私有API(3)--- UIButton
- poi
- 欧盟 物联网战略研究路线图 翻译稿 初稿 10
- iPhone开发技巧之私有API(4)--- UIBarButtonItem
- JFSF系统感想
- 详解如何用postgresql注入
- iPhone开发技巧之私有API(5)--- UISegmentedControl
- 不想装360时如何继续使用鲁大师
- 80后程序员的发展路线
- 让Apache日志不记录图片等指定扩展名文件的设置方法
- iPhone开发技巧之私有API(6)--- 设置UIWebView中的User-Agent
- Android学习路线