如何使用 Apple 提供的图标

How to Use Apple Provided Icons

如何查找和使用 Apple 提供的图标?我专门尝试使用 Apple 的共享图标。我知道我可以下载类似的图像并使用它,但我想有一个为典型的 Apple 功能提供的图标工具包?

我在 Apple 的开发者网站上找到 this

iOS provides a lot of small icons—representing common tasks and types of content—for use in tab bars, toolbars, navigation bars, and Home screen quick actions. It’s a good idea to use the built-in icons as much as possible because users already know what they mean.

我没有任何类型的导航标签栏。跟这个有关系吗?

这个问题在 StockOverflow 上被问过多次。不幸的是,不可能在 bars

之外使用它们

iOS defines lots of standard small icons, such as Refresh, Action, Add, and Favorites. As much as possible, you should use these buttons and icons to represent standard tasks in your app. (To learn more about the standard buttons and icons you can use in bars, see Toolbar and Navigation Bar Buttons and Tab Bar Icons.)

如果您只想要图标文件:

在 Mac 视网膜显示屏上,在浏览器中打开 url https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/system-icons/(我使用的是 Chrome)。

右键单击每个图标,然后按 Save Image As。您可以将此图像用作 @2x 图标。

如果您在非 Retina 显示屏上加载页面,图标的分辨率将为 1 倍。