Thursday, April 4, 2024
HomeiOS Developmentios - CATransitionSubType.fromTop and CATransitionSubType.fromBottom animating in reverse instructions

ios – CATransitionSubType.fromTop and CATransitionSubType.fromBottom animating in reverse instructions


I’m engaged on an app that demonstrates animations of the varied combos of CATransition kinds and subTypes together with fadeFromTop, fadeFromBottom, revealFromTop, and so forth.

I’ve a UICollectionView with separate actions connected to clicks on every of the objects.

The problem I’m having is that the animations that both transition fromTop or fromBottom are literally showing to transition in the other way from how they’re outlined. Whereas the fromLeft and fromRight subTypes seem as anticipated.

Want some help both understanding why it’s this manner or maybe what I’m doing incorrectly and find out how to repair it.

Right here is the GitHub supply code.

And here’s a brief simulator display recording of the sudden conduct that I’m experiencing.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments