【发布时间】:2018-01-07 10:49:11
【问题描述】:
为了安全起见,我已经安装了 pod 并更新了我的 pod,但我敢打赌“没有这样的模块 'DisplaySwitcher'”错误。我是 swift 新手,所以这可能是我的菜鸟,但我们将不胜感激。
import UIKit
import DisplaySwitcher
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
【问题讨论】:
标签: swift xcode cocoapods xcode9