Before ios9 I checked the model name of the device to check if the app was running in simulator or not.
if UIDevice.currentDevice().model != "iPhone Simulator" {
// Device
}
else {
// Simulator
}
But now with xcode7 and ios9 Swift2.0 the simulator's modelname is now just iPhone which my real divice is too.
My dirty method no longer works, what is the better solution?