だから、私はこれを試しました
- (void)call {
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"tel://611,1,1"]];
}
- (void)viewDidLoad
{
[super viewDidLoad];
UIButton *telButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
telButton.frame = CGRectMake(20, 20, 100, 100);
[telButton setTitle:@"Call" forState:UIControlStateNormal];
[telButton addTarget:self action:@selector(call) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:telButton];
}
そしてそれはうまくいった。
次の番号に自動的にダイヤルするには、コンマ,を配置し、ユーザーに次の番号へのダイヤルを許可するように求めるプロンプトを表示するには、セミコロンを配置し;ます。
参照1:http ://www.modernsaver.com/pause-wait-blackberry-iphone-droid
参照2:http ://www.iphonedevsdk.com/forum/iphone-sdk-development/85581-make-phone-call -tableview-cell.html#post355401