try setting a flag when animation begins and based on that flag return NO from orientation delegates and once animation is completed reset the flag.
Disable autorotate while animation show
-
24-06-2022 - |
Domanda
Can I disable autorotation if my views animated in this moment? And then if orientation changed, after end of animation - change orientation manual
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow