if let cityDetailsPath = Bundle.main.path(forResource: "Places", ofType: "plist") {
if let cityDetails = NSArray(contentsOfFile: cityDetailsPath!) as? [[String: String]]
{
for city in cityDetails
我在Line中出错:
if let cityDetails = NSArray(contentsOfFile: cityDetailsPath!) as? [[String: String]]
错误:
无法强制解包非可选类型'String'的值
答案 0 :(得分:0)
移除力展开符号!。
ListPopupWindow