Ios swift – iOS drawLinearGradient diagonal not working correctly when view is longer than width
I can demonstrate the issue with this simple example. I have a view which needs diagonal gradient which should start with one color at top left corner and change to another color at the bottom right corner. The following code…