How to use SF Symbols in iOS 12 and below?

后端 未结 8 1736
南方客
南方客 2020-12-24 04:53

I am updating the icons in my app. After I heard Apple released an icon font named SF Symbols with iOS 13, I was wondering if I can only use them in iOS 13 or i

相关标签:
8条回答
  • 2020-12-24 05:15

    I made a tools can export sfsymbols to Xcode easily:

    https://happycoding.app

    0 讨论(0)
  • 2020-12-24 05:17

    This icon set is based on SF Symbols https://framework7.io/icons/

    0 讨论(0)
  • 2020-12-24 05:18

    You can not use SFSymbols natively in iOS versions older than iOS 13 (see Apple's Human Interface Guidelines for SF Symbols).

    However, if you are interested in using the graphics you can use the SFSymbols app to export SVG versions of the icon. Then use some graphics tool to convert them to PNG icons you can import into your asset catalog.

    0 讨论(0)
  • 2020-12-24 05:34

    SF Symbols is a system only supported on iOS 13 or later - it's not possible to use them on iOS 12 or below. You'll need to use fallbacks for those older operating systems.

    See Human Interface Guidelines

    0 讨论(0)
  • 2020-12-24 05:35

    You can open .svg use Figma. Then select the Regular-M and export as PDF or PNG.

    0 讨论(0)
  • 2020-12-24 05:39

    You can upload the new ios 13 sf-pro-rounded font to your project. Then enable that font in your label.

    Open sf symbols, click on the smbol you want, cmd+c, go to your project, click on a label cmd+v. Run the project, and there should be the icon

    cheers,

    0 讨论(0)
提交回复
热议问题