我正在使用 segue 将文件传输到下一个 UIViewController。 第一个 View 的名称是 RecordSoundsViewController,第二个 View 的名称是 PlaySoundsViewController。 当我使用 segue.destinationViewController 作为! PlaySoundsViewController 它显示错误“使用未声明的类型'PlaySoundsViewController”。 我不知道如何声明 UIViewController 的类型。 请帮忙
最佳答案
您是否使用多个目标?如果是这样,请在身份检查员的 Target-membership 中为您的类(class)选择适用的目标。
或者检查 public、private 类的访问级别。
关于ios - 使用未声明的类型 'UIViewController',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38605777/