I would like to set the silver color for my UITextView border. I tried this:
theGroupTextLabel.layer.borderWidth = 3.5f;
theGroupTextLabel.layer.borderColor = [[UIColor whiteColor] CGColor];
…but in the color option there are only some colors like whiteColor, BlackColor, Green…
What if I want silver?
You will just need to customize your color with RGB values because what you are seeing are just a handful of predefined colors for your convenience. This is an example of a custom color with RGB values.
NOTE: Normally you will find a number between 0 and 255 for each value but this function takes floats so just take those number and divide it by 255 to get the float value of what you need.