title: Is there a method like didRotateFromInterfaceOrientation which happens during rotation in Swift?
body: <p>I am trying to .StartAnimating an UIActivityIndicator when I rotate the device, I was trying to use an override function: didRotateFromInterfaceOrientation; however, this function is called after rotation has occurred and I would like to animate during the actual rotation. </p>
  
  <p>I am looking for a method which is called at the moment of rotation. I have looked through the literature, and have found only depreciated functions that might have worked.</p>
  
  <p>Are there any current methods that I could use for this?</p>