Comment passer un appel depuis Apple?

Y at-il un moyen de faire des appels téléphoniques à partir de l'extension WatchKit ?

Voici mon code.

 NSExtensionContext *ctx = [[NSExtensionContext alloc] init]; NSSsortingng *cleanedSsortingng = [[@"1234567890" componentsSeparatedByCharactersInSet:[[NSCharacterSet characterSetWithCharactersInSsortingng:@"0123456789-+()"] invertedSet]] componentsJoinedBySsortingng:@""]; NSURL *telURL = [NSURL URLWithSsortingng:[NSSsortingng ssortingngWithFormat:@"tel:%@", cleanedSsortingng]]; [ctx openURL:telURL completionHandler:^(BOOL success) { NSLog(@"fun=%s after completion. success=%d", __func__, success); }];