[ad_1]
Abstract
I would love to have the ability to inform if a tool helps cellphone calls in order that I can disguise the decision button. Is that this doable in a Xamarin app? I’m interested by each an iOS and Android answer.
Particulars
I’m putting cellphone calls utilizing Xamarin.Necessities PhoneDialer as defined right here https://docs.microsoft.com/en-us/xamarin/necessities/phone-dialer?tabs=ios.
The documentation recommends surrounding the PhoneDialer.Open name with exceptions to report info to the consumer in regards to the cellphone dialer failing. Whereas this does work, I want to disguise the button on gadgets which should not have the flexibility to make calls (corresponding to ipads).
Is there a technique to detect whether or not a tool could make a name with out trying to open the cellphone dialer?
[ad_2]
