I'm porting my android app to ios. I can start phone calls and text messages in android but trying to reuse the same code, shown below, in ios results in error messages. How do I do this in IOS?
B4X:
Sub CallButton_Click
Dim p As PhoneCalls
StartActivity(p.Call(PNumber))
End Sub
Sub SendMsgBtn_Click
Pstring = "From user " & ScreenName & ": " & PhoneMessageTxt.Text
Sms.Send(PNumber,Pstring)
LoadLayout
End Sub