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 - |
Pergunta
Can I disable autorotation if my views animated in this moment? And then if orientation changed, after end of animation - change orientation manual
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow