7

For UIKit to disable the device rotation animation you could override the viewWillTransitionToSize method. Disable orientation change rotation animation But what would be the best way to achieve this in SwiftUI?

adelmachris
  • 260
  • 1
  • 11

0 Answers0