iOS App Crashing Issue
I am working on a business cards scanning app. My app is getting crashed with the Fatal Error: Unexpectedly found nil while unwrapping an optional value...when i'm debugging my swift code it shows contactID as nil. The error is showing in this line contactID = [contactList.contact_id as! Int] and i'm taken the contactID like var contactID = Int. When i'm running the app. it's working. but the issue when i'm select, search and select a row. it is getting crashed with an fatal error. I am tried with optional binding, Nil Coalescing operator, Optional chaning, Map & Flat Map and try!. I didn't get proper solution for that.