TheSidebarController
TheSidebarController copied to clipboard
Performance issue on real devices
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
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
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.