我有根情节提要,其中有一个按下ViewControllerB的按钮。
ViewControllerB有一个排序控制器UISortController
。
ViewControllerB具有由根导航控制器控制的“后退”方法。
我收到以下警告:
Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (<UISearchController: 0x7ff10258ba60>)
我使用Apple的示例(需要成员身份)添加了新的UISearchController。
有人遇到过这个吗?我该如何解决?
我建议改用Storyboard Unwind Segues:https : //developer.apple.com/library/ios/technotes/tn2298/_index.html
这篇有见地的文章也有很多非常有用的实现细节:
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句