I'm brand new to Swift and I'm struggling to figure out how I can call a function from the watchOS app in my iOS app. All I'm trying to do is have a button in the iOS app that makes the watch vibrate:
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I'm trying to find a way to have a simple button on the iOS app to make the apple watch vibrate. Is this possible using SwiftUI? I've seen the WatchConnectivity documentation, but I need access to the WKInterfaceDevice API to make the Apple watch vibrate. I'm barely learning app development; unfortunately, things like this aren't well-documented.
Thank you!