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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -