iOS - Smooth Color Change Transition/Animation
问题 I want to have a smooth color transition that goes across the entire spectrum (i.e. red, blue, green, yellow, orange, etc.) Also want to be able to have smooth transitions of colors in specific spectrum (i.e. all reds). Are there any simple algorithms/recursive functions/formulas that can help simplify this process? 回答1: One possible way of doing it is apply background color animation on view's layer. Now to pass through entire spectrum you have to work on combinations of three colors. The