Access PhotoKit over LAN

What options are available to connect to a discovered device's Photo Library with PhotoKit? Not via iCloud, but any device found on the network.


I didn't find any reference under the PhotoKit developer section, though if anyone knows, I would appreciate helpers / tips.


Or would this be via Bonjour / network.framework method(s)? I presume this may need more of a client/server architecture, than an ad-hoc data exchange method? Therefore, a custom app (i.e. my app) running on both devices?


I was hoping not to need a running app on both devices, but so that I could dynamically connect from an active device and instantiate a PHAssetCollection from the other device.


Thanks

Replies

A custom app is for sure needed. There is no build in network functionality in PhotoKit.