故事板segue仅在第一次按下时才会变慢

时间:2016-09-11 00:22:50

标签: ios uitableview storyboard segue uistoryboardsegue

我有一个UINavigationController,Root View Controller包含一个UITableView。在故事板中,我将一个来自UITableViewCells的segue附加到另一个UIViewController。

当我在Root View Controller上并点击UITableViewCell时,需要1到4秒来执行另一个UIViewController的segue。但是,因为这都在UINavigationController中,所以我可以回到Root View Controller。当我回去再次尝试segue(来自任何细胞)时,它会立即发生。这是我第一次做segue时的速度很慢。这是为什么?

我发布了代码,但这都是非常普遍的东西,即使目标View Controller中的viewDidLoad方法为空,它也很慢。

0 个答案:

没有答案
相关问题