diff --git a/GMERemittance/Module/Cell/GmeContactsTableViewCell.swift b/GMERemittance/Module/Cell/GmeContactsTableViewCell.swift index d82e4ba3..01ab0abd 100644 --- a/GMERemittance/Module/Cell/GmeContactsTableViewCell.swift +++ b/GMERemittance/Module/Cell/GmeContactsTableViewCell.swift @@ -37,7 +37,9 @@ class GmeContactsTableViewCell: UITableViewCell { if var number = self.contact?.contactNumber { number = number.removeWhitespacesInBetween() if let url = URL(string: "tel://\(number)") { - UIApplication.shared.openURL(url) + if UIApplication.shared.canOpenURL(url) { + UIApplication.shared.openURL(url) + } } } } diff --git a/GMERemittance/Module/GmeContacts/User Interface/View/GmeContacts.storyboard b/GMERemittance/Module/GmeContacts/User Interface/View/GmeContacts.storyboard index 44ebdcd4..dfe8aa73 100644 --- a/GMERemittance/Module/GmeContacts/User Interface/View/GmeContacts.storyboard +++ b/GMERemittance/Module/GmeContacts/User Interface/View/GmeContacts.storyboard @@ -131,7 +131,7 @@ Wongogdong Jung-Angdaero 445 Wongogdong Jung-Angdaero 445 - + - + + - - - - + + + + + @@ -3981,7 +3995,7 @@ - +