<分区>
这是一个错误,当我只是想输入一个简单的命令时,我很快就遇到了一个错误。
<分区>
这是一个错误,当我只是想输入一个简单的命令时,我很快就遇到了一个错误。
最佳答案
语法已经改变:
button.title(for: .normal)
关于ios - 类型 'UIbutton' 的值不再有 'titleforState',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43755328/
相关文章:
当应用程序关闭时,Swift 3 显示来自 appdelget 的 View
ios - 类型 string 不符合 coredata 的协议(protocol)序列类型
swift - 使用从另一个协议(protocol)继承或使用 where Self 声明 swift 协议(protocol)时的区别
ios - 带有 CocoaPods v0.38 的 ADAL iOS 使用 Swift 没有桥接头
ios - UITableViewController 中的第二个 TableView