Challenges with Remotely Controlling iPhone Camera from Mac: Need Guidance

Hello everyone,

I am working on an iOS app that involves capturing images automatically, and I would like to control the start/stop of the capture process remotely from a Mac app. I explored the iPhone Mirroring feature, which allows some remote control but has the limitation of only functioning when the iPhone is locked, and it doesn’t permit access to the iPhone’s camera from the Mac.

Ideally, I am looking for a solution that would allow me to:

  • Remotely control the camera capture process on the iOS app from the Mac app.
  • Ensure the iPhone’s camera remains fully operational and controllable from the Mac during the capture process.

I have considered using options like Handoff for communication between the apps but faced some issues while communicating between the iOS and mac app. I would like to know if there is a more optimal solution within Apple’s ecosystem, or if there are APIs I might have overlooked.

Any advice or guidance on how to achieve this functionality would be greatly appreciated!

Thanks in advance!

Answered by Engineer in 808071022

Hello @anumijaz, thank you for your post. One idea that comes to mind is to use Bonjour to establish a connection between iOS and macOS devices on the same network. Please see this thread for a discussion.

Accepted Answer

Hello @anumijaz, thank you for your post. One idea that comes to mind is to use Bonjour to establish a connection between iOS and macOS devices on the same network. Please see this thread for a discussion.

Challenges with Remotely Controlling iPhone Camera from Mac: Need Guidance
 
 
Q