How to programmatically rotate the view by 180 degrees in my iPhone App?
Latest Swift 3 syntax:
view.transform = view.transform.rotated(by: .pi)