@Claude31:
Note: why not support iPad deployment ?
Reason that we can't prepare the specific design for the ipad, we can only scale it from iPhone's design.
I tried with a new project with the above settings, but it still can't rotate the screen.
when clicking on the event of the button absolutely nothing happens.
Rotate Button's action
@IBAction func rotation(_ sender: Any) {
ScreenOrientationManager.shared.rotateScreen()
}
Topic:
Programming Languages
SubTopic:
Swift
Tags: