Hero: Swift 4 - iOS 11 - Cascade transitions doesn't work

Hi,

I’m using Hero in my application and it was working perfectly until iOS 11, I only have one issue though, I’m applying a cascade modifier on the tableView to display the each cells with a delay. I case see the cascade when I build the app on iOS 9 and 10 but not on iOS 11.

Is that a known issue ? Or many something that i’m missing ?

Thanks ! Morgan

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 16

Most upvoted comments

Yea, definitely. I will take a look this week.

I can confirm that the cascading effect does not work on a UITableView but it does on a UICollectionView. The only way to have that effect on tableView cells would be to apply a modifier on each one of them with a delayed ( delta * index ) translate.

Strangely enough, I have set them in almost everywhere in the view lifecycle, but I can only get the cascade animation to work when leaving the view. It seems like the animations are running in viewWillDisappear, but I can’t get them to run after populating the datasource and reloading the collectionview. I even tried this hard coding in cells so the view wasn’t waiting for a network call to finish. 😦

cascade is working for me only when I leave the view controller. I’m setting the hero modifiers into cellForRowAt method of a collectionview… Any help?

I don´t understand why this is closed. I can reproduce the error with iOS 11 and a UITableView. Or in other words: What is needed to reopen this 😃