mpospese / MPFoldTransition

Easily add custom folding and page-flipping transitions to UIViews and UIViewControllers
http://markpospesel.com/2012/05/07/mpfoldtransition/
1.81k stars 238 forks source link

delay on device #14

Open zigzagg16 opened 11 years ago

zigzagg16 commented 11 years ago

Hi all, I'm having a strange issue. In the simulator, no delay to push a view controller. But on the device, there's a delay of 1 to 2 seconds before the animation starts.. (i0S 6.1.2, iPhone 5)

Here's the code i'm using :

[self.navigationController pushViewController:VC foldStyle:MPFoldStyleUnfold];

Any ideas why i have a delay on the device ? I really want to use this library in my project, but i can't deliver it with this delay...

mRs- commented 11 years ago

maybe you are loading several stuff on the main thread and it's blocking the foldstyle animation.