Where can I find the default chevron image for iOS 7?
I am working on updating an old application that uses UIButtons, which are designed to simulate a navigation button on a navigation bar. I would like to use the default chevron image that was used for the back buttons in iOS 7.
Is this image available somewhere in the iOS 7 SDK, or elsewhere, so I can use it as a UIButton image via setImage:forState:
?
+2
source to share
2 answers
It is not available in any published, Apple-approved API. The following options are available:
- See if someone else has checked out the artwork files and provide you with instructions or tools to do so.
- Take a screenshot of the UI element, then use it yourself.
- Enter the code to make it yourself; in the case of the chevron button on the back, this is a fairly simple image (two lines, multiple pixels, rounded caps) and won't be difficult to reproduce with multiple Core Graphics calls.
+1
source to share