I am getting this error on iOS 11 while trying to load the MKMapView on a collection cell. Everything works fine until I face this issue, I also tried by disabling the Metal API validation in Edit Scheme's but no luck. Any idea whats going wrong?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The problem is with UICollectionViewDelegateFlowLayout where I am passing the CGSize width as collectionView.bounds.width * 0.75. By setting it to fixed width the error is gone. Weird but true!