I need help communicating between 2 ios app. I want to send a signal from Macbook to Ipad via Wifi using SwiftUI.
When I press a Button on MacBook SwiftUI, iPad SwiftUI app will receive the signal and changes the display from red to black.
I could not find any example online.
Here's some general reading: https://developer.apple.com/documentation/network/building_a_custom_peer-to-peer_protocol
Here's the Apple analog to Wi-Fi direct, if you want to try that: https://developer.apple.com/documentation/multipeerconnectivity
Swift streams, which is a step up from BSD sockets: https://developer.apple.com/forums/thread/35636