0

I see the documentation here: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/BarIcons.html

But is there anyway to get the icon by itself? Where is an example of this?

Thanks.

cdub
  • 24,555
  • 57
  • 174
  • 303
  • You can't get bar icons from iOS. But, there are plenty open source exact look alike icon packs on the internet, just search on google. Good Luck! – Fahri Azimov Mar 06 '15 at 05:44
  • What do you mean you can't get them? They don't allow you to use their standard set. – cdub Mar 06 '15 at 06:22
  • From Apple: Bar Icons iOS provides a lot of small icons—representing common tasks and types of content—for use in tab bars, toolbars, and navigation bars. It’s a good idea to use the built-in icons as much as possible because users already know what they mean. – cdub Mar 06 '15 at 06:22
  • Yes, you can use them, just only on system bars like `UINavigationBar`, `UIToolbar`, etc with only `UIBarButtonItem`. Hope, this is helpful for you to understand my first comment. – Fahri Azimov Mar 06 '15 at 09:45

1 Answers1

0

Use a UIBarButtonSystemItem which has the predefined icons.

They are located here: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIBarButtonItem_Class/index.html#//apple_ref/c/tdef/UIBarButtonSystemItem

cdub
  • 24,555
  • 57
  • 174
  • 303