Search code examples
iosiphonexcode3dtouch

Very Strange View Behavior When Implementing 3D Touch Preview


I'm running into a very strange issue with 3D Touch previewing in my app. As you press into a cell to show a preview, a view seems to grow out of the top left corner, until it's about to show the preview view controller, at which point it's the full size of the view controller.

Here's a video of the behavior

I haven't been able to replicate in any apps I've created from scratch; however, creating a new tableview and view controller in the same app it still does it:

Video

I know this isn't a lot to go on, but I've exhausted my debugging knowledge. I'm not getting auto layout errors, when I debug the view hierarchy the view just isn't there. I'm hoping someone has experienced this and knows how to fix it.

Thanks!


Solution

  • It took me a while to hunt this bug down. Turns out it's caused (in my case) by https://github.com/icanzilb/EasyAnimation. When I remove the library the bug is gone.

    Cheers!

    Edit: As it happens it's documented here: https://github.com/icanzilb/EasyAnimation/issues/14