1

I'm writing a script on my macbook to trigger the camera shutter on my iPhone.

I'm struggling to understand how to do this programmatically. I've tried:

  • Using macbook as bluetooth keyboard (don't know how to simulate a volume press)
  • Using "Switch Control" functionality on Macbook to control the iPhone device (unfortunately it seems like the simulated keypresses don't get sent over to the iPhone)

Any other ideas would be greatly appreciated !

user3507926
  • 61
  • 1
  • 5

1 Answers1

0

You're close! While a bit of a kluge, you can connect a Bluetooth keyboard to your phone, enable Switch Control on iOS, and bind a key to the "Increase Volume" action. If that doesn't work, you can always bind keys to the "Move to Next Item" and "Select Item" actions, and then then move through the interface one element at a time until you reach the shutter button.

Justin
  • 20,509
  • 6
  • 47
  • 58