gpt4 book ai didi

ios - 从 UIPageViewController 模态呈现 UINavigationController 锁定 iOS 9

转载 作者:行者123 更新时间:2023-11-29 01:39:10 24 4
gpt4 key购买 nike

因此,在我的应用程序中,我们有一个 UIPageViewController,它有一个 UIToolbar,其中包含一个按钮,按下该按钮会实例化一个新的 UINavigationController 和一个 UIViewController 嵌入在导航 Controller 中。完成后,我调用 [self presentViewController:navController animated:YES completion:nil]。这会激增 CPU 并锁定应用程序。

我在要显示的 UINavigationController 中嵌入的 UIViewController 中设置了一个断点,唯一执行的调用是 initWithCoder:.

这种发生在使用 Xcode 7 时,我尝试将其精简为简单的框架(除了加载之外,在呈现的模式中不执行任何操作),但它没有帮助。

最佳答案

哇,在我看来,这是 Apple 的新低。为 UITextView 提供默认文本的问题,但纯文本、属性文本不会导致该问题。这几乎是令人尴尬的。

关于ios - 从 UIPageViewController 模态呈现 UINavigationController 锁定 iOS 9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32619627/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com