QUESTION OF THE WEEK
“
Is it possible to test camera functionality on the Simulator?
That's a question I've had a few years ago. I added the feature to RocketSim's roadmap and users started to vote it to being the most requested feature.
Like with many of RocketSim's features, I often have no idea where to start. I keep thinking about them for months, jumping back and forth between potential implementation ideas.
Last week, I finally found a way to actually enable camera support for Xcode's Simulator. It uses any of your Mac's cameras in replacement of the iOS camera. It's quite magic to see it working after developing for so long without proper camera support!
Yet, it's also a highly challenging feature for me to build. There's no way to simulate a hardware device on iOS and I really need to trick the system to accept the macOS camera devices. This also means that I'll have to test many scenarios—there are simply many ways to use the camera on iOS!
Looking at all the responses on this feature, I'm highly motivated to push this through. UIImagePickerController support is already completed and I'm now testing with Apple's AVCam Sample Code.
If you have an open-sourced project that uses the camera, please add it to the GitHub issue so I can validate this feature. I truly can't wait for you to try out this feature!