iOS Swift - Networking
Which of the following is the correct way to check for an error in a URLSession data task completion handler?
if let to safely unwrap the optional error.if let error = error { ... } unwraps error if it exists and allows handling.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions