Hi @Morssel_K.
I believe that the way you solved it, I can solve it too.
Under iOS 16, supportedInterfaceOrientations would have been automatically set by shouldAutorotate, but I think that setNeedsUpdateOfSupportedInterfaceOrientations()
must be called explicitly as shouldAutorotate is deprecated.
But I'm curious, when did you toggle the scanModeEnabled value?
thanks.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: