Вопрос

Going by the Mono site, the externalAccessory API is available on Mono somewhere... but I can't work out what to include to get access to it from Xamarin.

I am working on Xamarin.Mac in C#.

What do I need to add to my project references, and what "using... " statement do I need, to be able to use the ExternalAccessory API?

Это было полезно?

Решение

Does the ExternalAccessory API exist for OS X? I don't think so. The only references I can find from Apple discuss it as an iOS framework.

Additionally, it is available in Xamarin.iOS but not in Xamarin.Mac.

I suspect the reference to it on the page you cite is an error by copy-and-paste.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top