I am new to ios, Just need to clear two doubts:
1.I am aware that to set custom colors we use following method:
[UIColor colorWithRed: 127 green:127 blue:127 alpha:1]
How do I find out from an Image what parameters for RGB are?(Its not an xcode question but I need to know).
2.How to add my own custom fonts in my project. I have added the file name in "fonts provided by application". But I am still not able to get the result in desired font. The file name is ExpertSans-ExtraBold.ttf .following is the code used:
setFont:[UIFont fontWithName:@"ExpertSans-ExtraBold" size:48.0f];