How can I use the glyphicons for iOS ? I cant't find any tutorials. Can anyone explain the steps to be taken and the code to be used.
How can I use the glyphicons for iOS ? I cant't find any tutorials. Can anyone explain the steps to be taken and the code to be used.
You cannot use glyphicons here like we used in the web.. In iOS, you need to save those as images - png, jpg etc. and then use
First you need to download icons, and then add them to your Images.xcassets as shown in the image below:
Then drag an UIImageView in the ViewControler:
Select the UIImageView and then click on the Show Attributes Inspector icon at the top right and type the name of icon in the Image textfield under ImageView, in my case the name is icon1, and that's it your icon will be added in the imageView -