从 Modal/Popover 中解开 Segue 导致对开始/结束外观过渡的调用不平衡 [英] Unwind Segue from Modal/Popover resulting in Unbalanced calls to begin/end appearance transitions

查看:23
本文介绍了从 Modal/Popover 中解开 Segue 导致对开始/结束外观过渡的调用不平衡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下设置:

导航控制器 -> VC1 -Push--> VC2 -PopOver 或 Modal Segue--> VC3.

Nav Controller -> VC1 -Push--> VC2 -PopOver or Modal Segue--> VC3.

VC3 正在回到 VC1.

VC3 is unwinding back to VC1.

当从 VC2 到 VC3 的 Segue 是 PopOver 和 Modal 时,unwind 以警告结束:Unbalanced call to begin/end appearance transitions for UIViewController"

When the Segue from VC2 to VC3 is PopOver and Modal, the unwind ends in a warning: Unbalanced calls to begin/end appearance transitions for UIViewController"

如果从 VC 到 VC 的 Segue 被推送,警告就会消失.

If the Segue from VC to VC is push, the warning is gone.

知道如何摆脱警告或为什么甚至显示警告吗?

Any idea how to get rid of the warning or why its even showing?

推荐答案

这是一个错误.忽略它(或者,如果您想成为一个好公民,请向 Apple 提交错误报告).

It's a bug. Ignore it (or, if you want to be a good citizen, file a bug report with Apple).

这篇关于从 Modal/Popover 中解开 Segue 导致对开始/结束外观过渡的调用不平衡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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