I made thread, but had a follow up question: What would be the equivalent refactor if we want to adjustsImageWhenHighlighted to be NO? I understood that we could manipulate the image to replicate adjusting the image when highlighted. Is there a way to replicate turning off any image adjustments when highlighted. What would the code look like?
Follow Up: Replacement for adjustsImageWhenHighlighted in UIButton
The equivalent is what UIButton/Configuration
does by default more or less. If you want absolutely no change to the image on highlight, you can use the same procedure I outlined in your previous post to prevent any coloring changes between normal and highlighted states.
Gotcha, thanks!