Closed drunksword closed 6 years ago
toggleAutorotate will switch the state of autorotate. But the state is unkunow before and after that(Considering that touch the screen can stop autorotate) .
touch event can stop autorotate, but can't start it. then i can keep the state change. That's my solution.
toggleAutorotate will switch the state of autorotate. But the state is unkunow before and after that(Considering that touch the screen can stop autorotate) .