【发布时间】:2014-11-28 13:24:13
【问题描述】:
XCode 自动更新,重启后发现有很多错误。
这是导致相关错误的代码:
let navBarTextAttributes = NSMutableDictionary.dictionaryWithCapacity(1)
navBarTextAttributes.setObject(UIColor.whiteColor(), forKey: NSForegroundColorAttributeName)
navigationController?.navigationBar.titleTextAttributes = navBarTextAttributes
}
我不知道如何解决这个问题。
谁能给我一些见解?
感谢您的宝贵时间。
【问题讨论】:
标签: ios xcode cocoa-touch swift nsmutabledictionary