-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I pass the playlist to player, it works fine, when i open the playlist thats provided at bottom right, and when i do scroll it is giving exception.
Error "*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <JWPlayerKit.GalleryMediaCell: 0x13064a700; baseClass = UICollectionViewCell; frame = (1105 43; 249.254 200); clipsToBounds = YES; opaque = NO; backgroundColor = UIExtendedGrayColorSpace 0 0.2; layer = <CALayer: 0x30173dec0>>; Collection view: <JWPlayerKit.GalleryCollectionView: 0x130426a00; baseClass = UICollectionView; frame = (0 0; 808 286); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x30191d410>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x30174a840>; contentOffset: {478, 0}; contentSize: {2724.5373134328356, 286}; adjustedContentInset: {0, 0, 0, 0}; layout: <UICollectionViewFlowLayout: 0x13742d400>; dataSource: <JWPlayerKit.GalleryTopPicksDataSource: 0x300cc0500>>'"