UIPercentDrivenInteractiveTransitionWithCABasicAnimation icon indicating copy to clipboard operation
UIPercentDrivenInteractiveTransitionWithCABasicAnimation copied to clipboard

Thank u man

Open edwin-z1 opened this issue 7 years ago • 3 comments

Thanks for found this solution before I give up, thanks the author . This question confuse me long time, always see a tutorial with a gif that transition view controllers use CoreAnimation and interactive, but when I download the demo, it can't, and I did what the tutorial told,it can't. Until I saw this git on StackOverflow, after I did some test, I found it's all perfect except one problem: the cancel method, seems there is no way to find a solution to reverse a CoreAnimation while it excute halfway, the demo's implement(speed = -1 dispatch_after speed = 1) may cause some problem under certain conditions, I hope me or u can find a better way in future. Thanks again

edwin-z1 avatar Nov 08 '17 09:11 edwin-z1

Hi there I actually did find solution for it in another project I was working on while back. I dont recall how I did it off the top of my head. I am currently about to go on holiday. Will update this repo with solution in two weeks or so

stringcode86 avatar Nov 08 '17 10:11 stringcode86

!!!Alright it's no hurry for me, I'm just interest in this skill and the internet filled with wrong answer, really appreciate your reply and wait for your update. Hope you have a wonderful trip:]

edwin-z1 avatar Nov 08 '17 10:11 edwin-z1

@stringcode86 so what was the solution in the end? I'm desperately searching for it. For me, the cancel animation is also broken, maybe because I combine it with a UIView animation?

fvates avatar Feb 05 '19 06:02 fvates