// Tap gesture per avviare una telefonata
@objc func startCall(_ sender: UITapGestureRecognizer) {
guard let phoneNumber = shopPhoneNumberLabel.text else {
return
}
if( phoneNumber != "" ) {
let noBlankPhoneNumber = phoneNumber.replacingOccurrences(of: " ", with: "")
if let phoneUrl = URL(string: "telprompt:\(noBlankPhoneNumber)") {
if( UIApplication.shared.canOpenURL(phoneUrl) ) {
UIApplication.shared.open(phoneUrl, options: [:], completionHandler: nil)
}
}
}
}