nicklockwood / iCarousel

A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS
http://www.charcoaldesign.co.uk/source/cocoa#icarousel
Other
12k stars 2.58k forks source link

iCousel doesn't work well in IOS11 #833

Closed JeeGee1983 closed 6 years ago

JeeGee1983 commented 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!