[英]How to check whether a specific UiViewcontroller(Tabbar Embedded) is in the navigationController rack?
[英]How to check whether particular UIViewController exists or not in app/project
我正在做一个更大的项目,我只想检查项目中是否存在特定的UIViewController
。
有没有办法获取所有UIViewController
数组,或者有没有办法检查特定的UIViewController
类是否存在?
请尽快回复,非常感谢。
在XCode中,使用Command + Shift + F搜索项目,然后搜索
UIViewController {
或UIViewController{
将为您提供所有视图控制器的列表
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.