为什么我在 iOS 中的 PhoneDialer.Open 中出现 FeatureNotSupported 异常,但在 Xamarin Forms 中的 Android 中工作正常?

Why am I getting FeatureNotSupported exception in PhoneDialer.Open in iOS but working fine in Android in Xamarin Forms?

我正在使用 Xamarin Essentials PhoneDialer.Open(字符串编号)

在 Android 模拟器中工作正常但在 iOS 中不工作。在模拟器中尝试时抛出错误 FeatureNotSupported。

号码格式为 xxx-xxx-xxxx

Throwing error FeatureNotSupported while trying in simulator.

您需要在 物理 iOS 设备 中测试此功能,然后才能正常工作。