I would like to rotate Actor with UIImage to rotate around a defined pivot point but I have not been able to find how to achieve this.
When I tried to find a solution, the best answer was this: https://stackoverflow.com/questions/27658454/swift-rotating-an-image-in-an-uiimageview-defined-in-the-main-storyboard
What I am trying to achieve:

I would like to rotate
ActorwithUIImageto rotate around a defined pivot point but I have not been able to find how to achieve this.When I tried to find a solution, the best answer was this: https://stackoverflow.com/questions/27658454/swift-rotating-an-image-in-an-uiimageview-defined-in-the-main-storyboard
What I am trying to achieve: