呈现视图控制器时的缓慢过渡 [英] Slow transitions on presenting a viewcontroller

查看:26
本文介绍了呈现视图控制器时的缓慢过渡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调用 [self.navigationController pushViewController:controller animation:YES]; 并且它工作得很好,但是呈现所需的时间有延迟.controller 只是一个简单的空白表格视图.此视图显示为正常推送.

I am calling [self.navigationController pushViewController:controller animated:YES]; and it works just fine, but there is a delay in how long it takes to present. The controller is just a simple blank tableview. This view is being presented as a normal push.

推荐答案

感谢仪器和@dasdom 发现了问题.显然,同时进行的动画导致了问题.

Found the issue thanks to instruments and @dasdom. Apparently there was a animation going on at the same time that was causing issues.

这篇关于呈现视图控制器时的缓慢过渡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆