0

有没有人遇到过类似的问题?我有一个视图控制器,当我将手指拉过屏幕返回时,它在滑动时会大大滞后,但仅在幻灯片的前半部分。其余的都很顺利。如果是这样,如何抵消?老实说,我似乎找不到任何可能导致它的东西。即使删除我所有的手势识别器也无济于事。但其他视图控制器在我的应用程序中完美滑动。

4

1 回答 1

2

It's hard to say without you being more specific, but it sounds like you might be performing some intensive tasks in the viewWillAppear: function of the view controller you're returning to. If the main thread is blocked here, even for a short amount of time, it could result in this behavior.

于 2013-10-16T20:53:53.900 回答