Developed with xcode 6.2.
I am using storyboard, but if there is a way to use swift, please let me know.
To UIBarButtonItem
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/BarIcons.html
36 icons on
(shown below)
I would like to specify , but is this just an explanatory sample?
enum UIBarButtonSystemItem:Int{
case Done
case Cancel
case Edit
case Save
case Add
case FlexibleSpace
case FixedSpace
case Composer
case reply
case Action
case Organize
case Bookmarks
case Search
case Refresh
case Stop
case Camera
case Trash
case Play
case Pause
case Rewind
case FastForward
case Undo
case Redo
case PageCurl
}
Does it say that this corresponds to the list that can be selected in the Attributes Inspector Identifier of the Bar Button Item on the storyboard, so do you understand that if you want to display anything other than this as an icon, you need to prepare a separate image?
swift xcode6 ios8 storyboard
Yes.
The icon that is often used in Apple apps is UIBarButtonSystemItem and you can use it freely.If you want to use other icons, you need to prepare them yourself
© 2024 OneMinuteCode. All rights reserved.