I have this code that makes an API call and hides the skeleton view inside reloadUI
// all this inside viewDidLoad 猬囷笍
view.showAnimatedSkeleton()
homeViewModel.getData { [weak self] _ in
self?.reloadUI()
}
My reloadUI method
fileprivate func reloadUI() {
DispatchQueue.main.async {
self.shouldAnimateSkeleton = false
self.view.hideSkeleton()
self.tableView.reloadData()
}
}
All cells should be hiding
Instead, just some cells hid.
Actually all the views you are looking at, are cells (where view.hideSkeleton() worked). The first one, the account one, the ranking one, the one with the dog.

SkeletonView version:
1.8.7
Xcode version:
11.5
Swift version:
5.2
For my case, after reloading data, random skeletonView in random indexPath still shown
Do not use same reuseId with skeleton cell.
+1
Hi guys. Investigating
Started facing the same issue, after updating to latest version of Xcode.
can you say something more?
Very grateful for that.
Do not use same reuseId with skeleton cell.
It solved my problem.
Thanks!
Do not use same reuseId with skeleton cell.
Hi Every One! What is this mean?
I create another cell for skeleton to show the animation.
I guess it is what he said and it works well for now.
I call "cell.hideSkeleton()" before set data to the cell.
Most helpful comment
Hi guys. Investigating