Make phone call from Apple watch app -
can use button make phone call apple watch app?
for iphone app can use once button pressed:
[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"tel://1111111111"]]);
openurl
silently ignored if device locked or app in background. additionally watchkit doesn't contain api initiating phone call.
your best bet may prompt user open iphone app, possibly using handoff, , tap button initiate call there. not great solution, watchkit pretty limited right now.
Comments
Post a Comment