RGB on iOS
I always forget this one. You have to divide each value in your RGB's by 255.0f on iOS and you need to makes sure not to forget the .0fs for best results.
Hope that helps someone.
Written by Michael Dominick
Related protips
2 Responses
Wow Michael way to not help people. Everybody check out my WAY BETTER pro-tip on this subject. https://coderwall.com/p/zbun9a
over 1 year ago
·
This works fine for RGB. Your tip is for hex codes.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Related Tags
#ios
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#