Okay, I am getting this strange error in xcode 8. In the below code, which is for dialing a number,:
@IBAction func dialNumber(_ sender: AnyObject) {
if let url = URL(string: "tel:/"tel://\(8708382937)") {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
}
I am getting the error: "Integer literal '8708382937' overflows when stored into 'Int"' On line 02.
This code was working just fine in xcode 7. Any help?