Closed JeeGee1983 closed 6 years ago
The - (void)setEnableShadow:(BOOL)enable method does not work in IOS 11.
It's a problem with self.view in this method. self.view.layer.shadowColor = [UIColor darkGrayColor].CGColor;
*** Assertion failure in -[_UINavigationBarVisualProviderModernIOS _contentViewFittingHeight], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3694.4.18/_UINavigationBarVisualProviderModernIOS.m:544
Any idea how to solve this? Thanks!
The - (void)setEnableShadow:(BOOL)enable method does not work in IOS 11.
It's a problem with self.view in this method. self.view.layer.shadowColor = [UIColor darkGrayColor].CGColor;
*** Assertion failure in -[_UINavigationBarVisualProviderModernIOS _contentViewFittingHeight], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3694.4.18/_UINavigationBarVisualProviderModernIOS.m:544
Any idea how to solve this? Thanks!