URL fileURLWithPath works in playground but doesn't work in a swift file

后端 未结 0 1717
醉酒成梦
醉酒成梦 2021-01-07 01:30
let fileURL = URL(fileURLWithPath: "/Users/myaccout/Desktop/Demo.xml")
do {
   try fileURL.checkResourceIsReachable()
} catch {
    fatalError("The fi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题