For me the simplest way was to use the .withHorizontallyFlippedOrientation() instance method of UIImage as follows:
let flippedImage = straightImage.withHorizontallyFlippedOrientation()
Simple one-liners always make me happy 🙂
For me the simplest way was to use the .withHorizontallyFlippedOrientation() instance method of UIImage as follows:
let flippedImage = straightImage.withHorizontallyFlippedOrientation()
Simple one-liners always make me happy 🙂