简体   繁体   English

Objective-C替换呼叫对话框中内置的telprompt

[英]objective-c replacing telprompt built in call dialog

using telprompt: 使用telprompt:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"telprompt://%@", self.phoneNumber]]];

you get a built in alert/messagebox like this: 您将获得一个内置的警报/消息框,如下所示:

在此处输入图片说明

is there a way to create a custom messagebox for telprompt? 有没有一种方法可以为telprompt创建自定义消息框? or making a call with another method? 或用其他方法拨打电话?

No, you can't. 不,你不能。 telprompt enable user to go back to the app after the call. telprompt使用户可以在通话后返回到应用程序。 If you use the tel scheme , you can display a custom UIAlertView , but you can't go back to your app after the call. 如果您使用tel scheme ,则可以显示自定义UIAlertView ,但在调用后无法返回到您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM