Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Type `MonoTouch.UIKit.UIDevice' does not contain a definition for `IdentiferForVendor'

$
0
0

I'm trying to get my unique device ID using IdentifierForVendor: NSUuid uid = UIDevice.CurrentDevice.IdentiferForVendor; ... but I'm getting this compiler error: Error CS1061: Type `MonoTouch.UIKit.UIDevice' does not contain a definition for 'IdentiferForVendor' ...

The Assembly Browser for UIDevice shows: [Since(6, 0), CompilerGenerated] public virtual NSUuid IdentifierForVendor

In my file I have: using MonoTouch.Foundation; using MonoTouch.UIKit;

In Options under iOS Application, I have Deployment Target set to 7.0.

What am I missing?

Thanks!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>