ImageInNavigationBarDemo
ImageInNavigationBarDemo copied to clipboard
Crash on iOS16.1 because shouldResize is nil
I launched the app on iOS16.1 simulator. It will crash on the assertion failure. It seems like the app can't get the device's orientation correctly in viewDidLoad so the shouldResize variable is still nil.