繁体   English   中英

如何检查特定的UIViewController在应用程序/项目中是否存在

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM