swift - 如何修复 swift 中的 'undeclared type IKImageView' 错误

标签 swift xcode6-beta6

这是错误信息

enter image description here

我已经导入了 Foundation 但它没有解决问题。我缺少什么导入?

最佳答案

IKImageView 类在 Quartz.framework 中。将此框架添加到您的项目并导入此框架 import Quartz

关于swift - 如何修复 swift 中的 'undeclared type IKImageView' 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25440632/

相关文章:

objective-c - ios8 unwind segue 不适用于 UINavigationBarController 和 UITabBarController(已在 iOS 8.1 中修复)

ios - 运行时遇到错误(域 = LaunchServicesError,代码 = 0)

arrays - 使用 "+="运算符连接到可选数组

Swift 对成员 '==' 的模糊引用

ios - 无法将类型 '[Thing]' 的值分配给类型 '[Any]' 的值

ios - 如何为 BarButtonItem 设置唯一 ID

swift - XCode6 beta 6 Swift 编译器错误

swift - 从 swift 2.3 迁移到 swift 3 时出错

ios - 使用 Swift 语言在 iOS 中呈现 View 时如何设置状态栏文本颜色?

iphone - 新的 Swift 应用程序列表器错误 : "No matching provisioning profiles found", "App ID with Identifier ... is not available"