Hello, i did it in Android, but i could not find how to do it in iOS.
Here is the code in B4A:
How can i do it with B4I?
Thank you.
Here is the code in B4A:
B4X:
rp.CheckAndRequest(rp.PERMISSION_CALL_PHONE)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
Dim number As String = Regex.Replace("[^0-9]",lbl.Text,"")
Dim Intent As Intent
Intent.Initialize("android.intent.action.DIAL", "tel: "&number)
StartActivity(Intent)
Else
ToastMessageShow("Sem permissão para realizar ligações!", False)
Log("No permission!")
End If
How can i do it with B4I?
Thank you.