Is there Camera Device Simulation in iOS Simulators?

There is one known workaround which could be useful sometimes: https://github.com/YuigaWada/iCimulator

But it does not work with 3-rd party libs like WebRTC though...


According to Apple documentation, using camera with Simulator is not supported:

The following hardware is not supported in Simulator:

  • Ambient light sensor

  • Audio input, except for using Siri by choosing Hardware > Siri.

  • Barometer

  • Bluetooth

  • Camera

  • Motion support (accelerometer and gyroscope)

  • Proximity sensor