This may have changed in the most recent version of Xcode, but the "model" returned from UIDevice.currentDevice().model is just "iPhone" in the simulator, not "iPhone Simulator" as noted here:
https://github.com/NativeScript/NativeScript/blob/master/camera/camera.ios.ts#L94
The simulator mocks the camera fine if this change is accounted for.
This may have changed in the most recent version of Xcode, but the "model" returned from
UIDevice.currentDevice().modelis just "iPhone" in the simulator, not "iPhone Simulator" as noted here:https://github.com/NativeScript/NativeScript/blob/master/camera/camera.ios.ts#L94
The simulator mocks the camera fine if this change is accounted for.