I am trying to build a small macOS app that can use the camera on my iOS device, mainly as video monitoring app respecting iPhone orientaion (landscape and portrait) eventually would be good to be able trigger record function on the iOS device but this is not essential, main aim is to be able to have live feed from iOS camera on macOS.
I have a little swift xcode macOS app that currently works with the facetime camera on Mac but with iPhone is plugged in I do not see any additional devices avalible via.
> let listdevices:Array = (AVCaptureDevice.devices())
I am a little stuck. Any help appriciated. assuming I need to do something with IOKit or Camera Connection Kit ?
Or should I look at airplay mirroring macOS app instead ?
All my code is online here https://gitlab.adamprocter.co.uk/adamprocter/DeviceMonitor/tree/master
Thank you