I'm trying to determine if the app is running in the simulator or on the hardware (Apple iPhone) device.
Various answers are all suggesting that I do the following:
bool isSimulator = MonoTouch.ObjCRuntime.Runtime.Arch ==
MonoTouch.ObjCRuntime.Arch.SIMULATOR;
which I've added to my iOS app AppDelegate.cs
file. But it does compile - I'm missing a namespace or assembly.
Here's a pic of the FULL method (with the colour coding showing it cannot find the static property):