我想使用此处列出的摄像头切换图标,而不是普通的图标。
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/BarIcons.html
但是在Xcode中,我的工具栏按钮项下似乎没有列出它?
我明白我可能忽略了一些显而易见的东西。有人能帮忙解决这个问题吗?
![enter image description here](https://istack.dev59.com/n01b7.webp)
我们正在谈论类似于this的内容
你的目标是获取1x和2x图标? 有几个在线资源(免费和付费),但我假设你的目标是以某种方式直接从设备获取这些图标。 这些是使用TabBarSystemItem初始化的UITabBarItem产生的。self.tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorites tag:0]
typedef enum {
UITabBarSystemItemMore,
UITabBarSystemItemFavorites,
UITabBarSystemItemFeatured,
UITabBarSystemItemTopRated,
UITabBarSystemItemRecents,
UITabBarSystemItemContacts,
UITabBarSystemItemHistory,
UITabBarSystemItemBookmarks,
UITabBarSystemItemSearch,
UITabBarSystemItemDownloads,
UITabBarSystemItemMostRecent,
UITabBarSystemItemMostViewed,
} UITabBarSystemItem;