Post

Replies

Boosts

Views

Activity

Reply to Calling a POST Form with URLSession.shared.dataTask
Thanks OOPer, I understand what you wrote, so, to my needs, I shoud make exactly the same thing but synchronous. I will look for it, if you have some basic writing about it, let me know aspStatus is a Class that return to me true or false (if false, a message why its false): class AspStatus {    var success: Bool    var message: String        init(success: Bool, message: String) {       self.success = success       self.message = message    } } I just don't understand your last part: You need to write everything you want to run after the task is completed within the completion handler.
May ’21