WWDC24 iPhone Mirroring API

Hello everyone,

I am thrilled about the iPhone Mirroring demo on WWDC24 and I have a few thoughts to share.

Will it work through a local network, or can the iPhone be accessed within a global network? Will there be an API to initiate iPhone mirroring via an app? This would be a great feature for MDMs, allowing administrators to provide support for their users. Could you share more details from the development perspective?

Hi there. Glad to hear you're so excited about the iPhone Mirroring feature. It is available in the beta.

Your iPhone will only be discoverable over the local network, and there are currently no developer-facing APIs.

thank for the feedback So both iPhone and MAC have to be connected to ethernet? Or is same WiFi access OK. xCode 16.0 can see my phone over WiFi is there any other dependency or permission issue preventing it to work

I will check connecting both phone and Mac to ethernet and report back

I did the basic and hooked up the MAC to ethernet and or both on same WiFi access point. Used ping to see if the Mac can ping my phone no problem for ping to see the iPhone on same network ping 192.168.0.17 PING 192.168.0.17 (192.168.0.17): 56 data bytes 64 bytes from 192.168.0.17: icmp_seq=0 ttl=64 time=65.745 ms 64 bytes from 192.168.0.17: icmp_seq=1 ttl=64 time=76.938 ms 64 bytes from 192.168.0.17: icmp_seq=2 ttl=64 time=95.154 ms

there must be another hidden configuration issue preventing it to work. It looks so easy in the presentation

found on ethernet response from ping from the iPhone is better

  1. best WiFi responce

64 bytes from 192.168.0.17: icmp_seq=8 ttl=64 time=34.677 ms 2. best ethernet response 64 bytes from 192.168.0.17: icmp_seq=7 ttl=64 time=5.946 ms

hope this eventually will work best feature in continuity by far

latest test result both MAC and iPhone on same ethernet (local area) network here is the ping data average response for 56 bytes 2 ms or better but still the apps on the Mac <iPhone Mirroring> gets no connection established

ping 192.168.0.161 PING 192.168.0.161 (192.168.0.161): 56 data bytes 64 bytes from 192.168.0.161: icmp_seq=0 ttl=64 time=2.738 ms 64 bytes from 192.168.0.161: icmp_seq=1 ttl=64 time=1.768 ms

its working in beta2 now case closed

WWDC24 iPhone Mirroring API
 
 
Q