Skeletonview: The Nested Collection view becomes unresponsive in iOS 14 when using SkeletonView.

Created on 17 Sep 2020  ·  4Comments  ·  Source: Juanpe/SkeletonView

I am using SkeletonView version 1.8 and it was working fine in iOS 13(Xcode 11.7). When I run this to iOS 14 with Xcode 12 the nested collection views have become unresponsive after calling

self.showAnimatedGradientSkeleton(usingGradient: gradient, animation: animation, transition: .crossDissolve(0.25)) Method.

🤔 possible bug

Most helpful comment

Ok, we need to investigate deeper

All 4 comments

I have a similar issue. Using SkeletonView 1.8.7 makes a collection view within a collection view cell (therefore nested) unresponsive (no horizontal scrolling or taps recognized), although the SkeletonView is used in a different view controller in a different tab. 🤷‍♀️

Ok, we need to investigate deeper

The only thing I meanwhile discovered was that the call to swizzleLayoutSubviews() disables the user interaction in my cell...without it, as far as I can see now, everything in our setup still works. Animated as well as non-animated.

After some more investigation and considering reworking my views I discovered that I was adding the nested collectionView to the cell view instead of the contentView of the cell, which is not supposed to work at all, but does until the swizzled layoutSubviews of SkeletonView changes something. Sorry for the fuzz... :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guidev picture guidev  ·  4Comments

barankaansert picture barankaansert  ·  3Comments

ghost picture ghost  ·  7Comments

GauravTechbirds picture GauravTechbirds  ·  4Comments

aboutsajjad picture aboutsajjad  ·  7Comments