1

Prior to Swift 3 I could get the error code by accessing error.code Now under Swift 3 it seems the only attribute of the Error object is a string based textual description. How can we get the enum value of error in this case?

optional func locationManager(_ manager: CLLocationManager, 
             didFailWithError error: Error)
C6Silver
  • 2,891
  • 2
  • 18
  • 47

0 Answers0