I discovered somewhat by accident that if you make a UIButton in Interface Builder and type in Plus in the image field, a + image appears for the button. A similar result comes from typing Minus.
我偶然发现,如果你在Interface Builder中创建一个UIButton并在图像字段中输入Plus,则会出现一个+图像。键入Minus也会得到类似的结果。
I am wondering if this is a bug, or if there is some way the poor programmers can access the built-in general GUI images from other apple apps, such as the green +, the red -, the detail disclosure chevron, the big red "Delete Contact" or similarly styled button, etc.
我想知道这是否是一个错误,或者是否有一些方式可怜的程序员可以从其他苹果应用程序访问内置的一般GUI图像,如绿色+,红色 - ,细节披露雪佛龙,大红色“删除联系人”或类似风格的按钮等。
Has anyone else encountered this, or know where to access these things in Xcode?
有没有其他人遇到这个,或知道在Xcode中访问这些东西的位置?
It makes sense to me that they should be usable, cause the Apple HIG seems to be all about making things recognizable and intuitive, and using them the way other apps use them.
我认为它们应该可用是有道理的,因为Apple HIG似乎只是让事物变得可识别和直观,并且像其他应用程序一样使用它们。
2 个解决方案
#1
2
You can get the UITabBarItems and once there search for UIBarButtonItem. Scroll towards the bottom of the screens and you can see all the system images for Tab Bars and Navigation Bars.
你可以获得UITabBarItems,一旦搜索到UIBarButtonItem。滚动到屏幕底部,您可以看到标签栏和导航栏的所有系统图像。
#2
1
I found an up-to-date (iOS7) list of icons for UIBarButtonSystemItem
on the official iOS Developer Library, which could be helpful.
我在官方的iOS开发者库中找到了UIBarButtonSystemItem的最新(iOS7)图标列表,这可能会有所帮助。
UIBarButtonSystemItemDone
UIBarButtonSystemItemCancel
UIBarButtonSystemItemEdit
UIBarButtonSystemItemSave
UIBarButtonSystemItemAdd
UIBarButtonSystemItemFlexibleSpace
UIBarButtonSystemItemFixedSpace
UIBarButtonSystemItemCompose
UIBarButtonSystemItemReply
UIBarButtonSystemItemAction
UIBarButtonSystemItemOrganize
UIBarButtonSystemItemBookmarks
UIBarButtonSystemItemSearch
UIBarButtonSystemItemRefresh
UIBarButtonSystemItemStop
UIBarButtonSystemItemCamera
UIBarButtonSystemItemTrash
UIBarButtonSystemItemPlay
UIBarButtonSystemItemPause
UIBarButtonSystemItemRewind
UIBarButtonSystemItemFastForward
UIBarButtonSystemItemUndo
UIBarButtonSystemItemRedo
UIBarButtonSystemItemPageCurl
#1
2
You can get the UITabBarItems and once there search for UIBarButtonItem. Scroll towards the bottom of the screens and you can see all the system images for Tab Bars and Navigation Bars.
你可以获得UITabBarItems,一旦搜索到UIBarButtonItem。滚动到屏幕底部,您可以看到标签栏和导航栏的所有系统图像。
#2
1
I found an up-to-date (iOS7) list of icons for UIBarButtonSystemItem
on the official iOS Developer Library, which could be helpful.
我在官方的iOS开发者库中找到了UIBarButtonSystemItem的最新(iOS7)图标列表,这可能会有所帮助。
UIBarButtonSystemItemDone
UIBarButtonSystemItemCancel
UIBarButtonSystemItemEdit
UIBarButtonSystemItemSave
UIBarButtonSystemItemAdd
UIBarButtonSystemItemFlexibleSpace
UIBarButtonSystemItemFixedSpace
UIBarButtonSystemItemCompose
UIBarButtonSystemItemReply
UIBarButtonSystemItemAction
UIBarButtonSystemItemOrganize
UIBarButtonSystemItemBookmarks
UIBarButtonSystemItemSearch
UIBarButtonSystemItemRefresh
UIBarButtonSystemItemStop
UIBarButtonSystemItemCamera
UIBarButtonSystemItemTrash
UIBarButtonSystemItemPlay
UIBarButtonSystemItemPause
UIBarButtonSystemItemRewind
UIBarButtonSystemItemFastForward
UIBarButtonSystemItemUndo
UIBarButtonSystemItemRedo
UIBarButtonSystemItemPageCurl