我看到许多不同的应用程序都使用相同的图标(例如,在选项卡栏中用于刷新、主页、展开等的图标)。 Apple 是否可以免费下载这些基本图标,还是必须由每个单独的开发人员设计它们?
我觉得奇怪的是,苹果竭尽全力让他们的应用程序遵循 HIG,但至少不提供最基本的图标集,因此用户本能地知道按钮的作用。我在谷歌上进行了快速搜索,但似乎没有任何内容直接来自苹果,而且大多数其他图标都是付费的。有什么想法吗?
编辑
作为一个附带问题,是否需要两个图标图像来满足视网膜显示,或者应用程序是否会自动“缩小”适合视网膜显示的图标以适应正常显示?
最佳答案
例如,您在 UIToolBar 中看到的大多数“标准”图标都是 Apple 设计的。它们内置于标准 UIBarButtonItem
类中。要初始化其中之一,您可以执行以下操作:
UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:(UIBarButtonSytemItem)...
(UIBarButtonSystemItem)
中的内容可能是:
UIBarButtonSystemItemDone
UIBarButtonSystemItemCancel
UIBarButtonSystemItemEdit
UIBarButtonSystemItemSave
UIBarButtonSystemItemAdd
UIBarButtonSystemItemFlexibleSpace
UIBarButtonSystemItemFixedSpace
UIBarButtonSystemItemCompose
UIBarButtonSystemItemReply
UIBarButtonSystemItemAction
UIBarButtonSystemItemOrganize
UIBarButtonSystemItemBookmarks
UIBarButtonSystemItemSearch
UIBarButtonSystemItemRefresh
UIBarButtonSystemItemStop
UIBarButtonSystemItemCamera
UIBarButtonSystemItemTrash
UIBarButtonSystemItemPlay
UIBarButtonSystemItemPause
UIBarButtonSystemItemRewind
UIBarButtonSystemItemFastForward
UIBarButtonSystemItemUndo
UIBarButtonSystemItemRedo
UIBarButtonSystemItemPageCurl
这是您在 iOS 中看到的所有标准图标。
我从 UIBarButtonItem
class reference 获取该列表。它包含屏幕截图和用例描述等内容。
关于ipad - 有库存的 Apple 图标集可供下载吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17433310/