1. 程式人生 > >iOS模擬器URLWithString The operation couldn't be completed. (Cocoa error 256.)

iOS模擬器URLWithString The operation couldn't be completed. (Cocoa error 256.)

track 獲取數據 tracking 模擬 con erro ring could per

我遇到這個問題是在iPad Air的模擬器上使用NSURL的URLWithString方法從Flickr獲取數據時,解決的方法是換一個模擬器,我換成iPad 2。就沒有問題了。

iOS模擬器URLWithString The operation couldn't be completed. (Cocoa error 256.)