HTTP Request in swift not working

后端 未结 6 962
攒了一身酷
攒了一身酷 2021-02-03 10:19

I\'m trying to learn about working with APIs in Swift. As a good first test, I figured I\'d hit the itunes API and just return some search results. I\'m in playground using the

6条回答
  •  醉话见心
    2021-02-03 11:09

    try following line and i guess it will work:

    XCPlaygroundPage.currentPage.needsIndefiniteExecution = true
    

提交回复
热议问题