use*_*606 12 xcode button ios swift
我希望能够使用此处列出的相机开关图标而不是普通的开关图标. https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/BarIcons.html
我明白我可能会遗漏一些明显的东西.有人能帮忙吗?
我们谈论的是这个样
你的目标是获取1x和2x图标?有几个在线资源(免费和付费),但我认为你的目标是直接以某种方式从设备获取这些图标.
这些是来自UITabBarIteminit的TabBarSystemItem
self.tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorites tag:0]
Run Code Online (Sandbox Code Playgroud)
如果你要提取所有这些,请看这里有个主意.
如果您只想列出它们,请查看您将找到的标题
typedef enum {
UITabBarSystemItemMore,
UITabBarSystemItemFavorites,
UITabBarSystemItemFeatured,
UITabBarSystemItemTopRated,
UITabBarSystemItemRecents,
UITabBarSystemItemContacts,
UITabBarSystemItemHistory,
UITabBarSystemItemBookmarks,
UITabBarSystemItemSearch,
UITabBarSystemItemDownloads,
UITabBarSystemItemMostRecent,
UITabBarSystemItemMostViewed,
} UITabBarSystemItem;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
21295 次 |
| 最近记录: |