【发布时间】:2017-03-23 10:34:15
【问题描述】:
我的应用程序中有 telprompt 警报对话框。我在 iOS 10.1.1 和 iPhone 7 设备上运行。在显示对话框之前,我需要显示一个隐藏在视图控制器中的视图,但在 iPhone 7 中它不会显示,直到我对 Teleprompt 采取任何操作。以下是在其他 iOS 上运行良好的代码。我们将不胜感激。
[callView setHidden:NO];
NSString *phoneNumber = [@"telprompt://" stringByAppendingString:msg];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];
【问题讨论】:
标签: ios objective-c iphone core-telephony