SkeletonView
SkeletonView copied to clipboard
Animation on UITableViewCell is stopped when ViewController is hidden
⚠️ Please fill out this template when filing an issue.
🙏🏼 Please check if it already exists other issue related with yours.
What did you do?
I implement an app with 2 tabs within a TabBarController, each implementing a TableView of data using the SkeletonViews but once the animation has started if I change tabs and go back to the first one the animation of SkeletonView has stopped.
What did you expect to happen?
I expect that the animation does not stopped when changing tabs.
What happened instead?
The animation of SkeletonView is stopped when changing the tabs.
Steps to reproduce the behavior
Have an app with 2 tabs and each tabs implementing a TableView using cells with SkeletonView, change tabs while the animation is running.
SkeletonView Environment
SkeletonView version: 1.8.1 Xcode version: 11.3.1 Swift version: 5
I have the same problem
Are you calling showSkeleton() again in viewWillAppear when you switch tab ?
@Juanpe , any solution/quick fix for this? This looks like an issue with the library where it can't clear out the skeletonview after the view disappears from the screen.