TheSidebarController icon indicating copy to clipboard operation
TheSidebarController copied to clipboard

Performance issue on real devices

Open ngoccuong291 opened this issue 10 years ago • 2 comments

To whom it may concern,

I tried the library and it worked great. However, when the animation happens on a real device (iPhone 5), it is pretty sluggish. When it's compared to what AirBnb animation, the AirBnb animation looks way smoother. I'm not sure what trick they did to make it smooth but I just wonder if we turn the front view into an image before the animation, would it be faster?

Regards

ngoccuong291 avatar Oct 13 '14 14:10 ngoccuong291

Hi @ngoccuong291,

That would probably be a great implementation - take a snapshot using the context, hide the viewcontroller and animate the image. Would it be faster? I honestly do not know. You may try it, if it works well, maybe you can send a pull request.

Thanks!

Jon

jondanao avatar Oct 13 '14 14:10 jondanao

Same issue. When I saw effect for the first time, I was quite impressed with it. As it's the prime effect in the app, it attracts everyone but at the same time, the slower animation makes it worst experience for the user.

bhavinchitroda avatar Oct 31 '14 13:10 bhavinchitroda