How to get all system icons in Xcode

First apologies as this is a newbie question, but since I can't figure it out, so I thought I would ask here.

I want to be able to use the camera switch icon that is listed here, rather than a regular switch. https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/BarIcons.html

But in Xcode, under the item of my panel button, it doesn't seem to be listed? enter image description here

I understand that I probably missed something clearly obvious. Can anyone help with this.

thanks

+7
ios xcode button swift
source share
1 answer

We are talking about this , for example

enter image description here

Your goal is to capture the 1x and 2x badges? There are several online resources (free and paid), but I assume that your goal is to get these icons from the device in some way.

These are the ones that come from UITabBarItem init with TabBarSystemItem

 self.tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorites tag:0] 

If you are going to extract all of them, see here for an idea.

If you just want to list them by looking at the headings, you will find

 typedef enum { UITabBarSystemItemMore, UITabBarSystemItemFavorites, UITabBarSystemItemFeatured, UITabBarSystemItemTopRated, UITabBarSystemItemRecents, UITabBarSystemItemContacts, UITabBarSystemItemHistory, UITabBarSystemItemBookmarks, UITabBarSystemItemSearch, UITabBarSystemItemDownloads, UITabBarSystemItemMostRecent, UITabBarSystemItemMostViewed, } UITabBarSystemItem; 
+4
source share

All Articles