Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func URLSession(Session: URLSession, task: URLSessionTask, didCompleteWithError error: NSError)
- {
- let myAlert = UIAlertAction(title : "Alert" , message: error?. , delegate : nil, cancelButtonTitle : "ok")
- myAlert.show()
- self.uploadButton.isEnabled = true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement