- 模态跳转出现延迟的现象。我的解决方法很简单,直接把跳转放在主线程:
DispatchQueue.main.async {
let vc = KKController(nibName: "KKController", bundle: nil)
self.present(vc, animated: true, completion: nil)
}
DispatchQueue.main.async {
let vc = KKController(nibName: "KKController", bundle: nil)
self.present(vc, animated: true, completion: nil)
}
本文标题:控制器模态跳转的时候出现延迟
本文链接:https://www.haomeiwen.com/subject/aarlrxtx.html
网友评论