首页 > 解决方案 > 为什么我在 iOS 中的 PhoneDialer.Open 中出现 FeatureNotSupported 异常,但在 Xamarin Forms 中的 Android 中工作正常?

问题描述

我正在使用 Xamarin Essentials PhoneDialer.Open(string number)

在 Android 模拟器中运行良好,但在 iOS 中无法运行。在模拟器中尝试时抛出错误 FeatureNotSupported。

编号格式为 xxx-xxx-xxxx

标签: xamarinxamarin.formsxamarin.iosxamarin.essentials

解决方案


在模拟器中尝试时抛出错误 FeatureNotSupported。

您需要在物理 iOS 设备中测试此功能,然后才能使用。


推荐阅读