Hello,
I was just wondering if anyone knows a way to get an iPhone to make a call from a unity app?
I’ve had a look through the reference, and forums, and it seems to me that it can’t be done… an i wrong?
i hope i’m wrong.
Hello,
I was just wondering if anyone knows a way to get an iPhone to make a call from a unity app?
I’ve had a look through the reference, and forums, and it seems to me that it can’t be done… an i wrong?
i hope i’m wrong.
You should definitely be able to do it. It’s a really easy 2 lines of code:
[[UIApplication sharedApplication]
openURL:[NSURL URLWithString:@"tel://18004664411"]];
This goes in your native code plugin and that shouldn’t be that hard to set up. Check the docs on how to do that.