waitUntilAllTasksAreFinished error Swift

前端 未结 4 1450
抹茶落季
抹茶落季 2021-01-31 16:23

I have this call in my loginViewController when Submit button is pressed:

let http = HTTPHelper()
    http.post(\"http://someUrl.com/Login/userEmail/\\(username.         


        
4条回答
  •  故里飘歌
    2021-01-31 16:55

    With Xcode 8.0 and Swift 3, this has been modified to the following construct:

    OperationQueue.main.addOperation{
        
    }
    

提交回复
热议问题