Mateus Coelho
Mateus Coelho

Reputation: 55

How to send a message from my Swift UIKIT app to my Watch App in swiftUI

I just created a watch app target for my already existing app. I want to set a timer to start on this watch app. It just need to me a timer, decreasing from 60 to 0.

A also have a timer im my ap, and i want to dispatch the timer in the watch also. I want the user to visualize the timer in his watch. I dont need to load the view of my app in the watch, so, i figure in create just a view with a timer, and when the user touches the start timer in the iphone app, the timer will start on the watchOS.

But, when i add the file target, my xcode screams that cannot find the types of the uiKIT.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

How to only send a message from my app to my watchapp

Upvotes: 0

Views: 69

Answers (0)

Related Questions