A sample project demonstrating real-time communication between iOS and Apple Watch apps using SwiftUI and WatchConnectivity.
This project demonstrates two-way communication between an iPhone app and its paired Apple Watch app using SwiftUI and WatchConnectivity.
- Send messages from iPhone β Watch β
- Send messages from Watch β iPhone π±
- Real-time updates displayed in both apps
- Uses SwiftUI for UI and WatchConnectivity for data transfer
- Xcode 15+
- iOS 17+
- watchOS 10+
- SwiftUI
- A paired iPhone + Watch simulator (or real devices)
Open the project in Xcode.
Run the iOS app on iPhone simulator.
Run the Watch app on paired Watch simulator.
Send messages back and forth