I have an iOS app, with a watch counterpart, used to enter scores for a match. The watch app starts a match (and a workout session) when it receives a notification from the mobile app, after the user started a match on their phone. Basically the watch app is just a more convenient way of inputing scores, so the user wouldn't have to reach for and unlock their phone every time - therefore the need for the watch app to always be displayed.
The flow follows these steps:
the user is prompted for workout session access when first launching the app;
after they accept, I start the workout;
the delegate method workoutSession(didChangeTo) returns the expected values;
the app remains active, even when the user lowers their wrist;
when I go to the clock, the app's icon is displayed in a circle at the top (bringing the app back to foreground on tap).
The only problem is that the "Return to app" option in the "Return to Clock" settings menu is missing, what do I need to do in order to display it?
Here's an example of what it looks like for the Strava app:
and how it looks for mine.
Post
Replies
Boosts
Views
Activity
I have a sports iOS app with a paired watch app, that uses location to update some UI elements. I technically need the location only when the watch app is in foreground, but since another requirement is to stop the clock from replacing the app, I decided to add background location checks. I followed the steps from the documentation (adding Background Modes to the watch extension target, setting allowsBackgroundLocationUpdates to true):
the location update works fine
when I go to the clock, the app's icon is displayed in a circle at the top (bringing the app back to foreground on tap).
The only problem is that the "Return to app" option in the "Return to Clock" settings menu is missing, what do I need to do in order to display it?
Here's an example of what it looks like for the Strava app:
and how it looks for mine.
I use setTitle() to display a custom text on the top left corner (aligned to the clock) of a controller. But after upgrading to watchOS 10, the title is displayed on the right, under the clock, pushing all the design down.
Is there a workaround to make the title behave as it did on older versions?
I know there is no way to decrease the crown rotation' sensitivity using WatchKit (only through SwiftUI). But is there a way to deactivate it completely while using the app? The issue is that users keep touching it by mistake, making the screen scroll too far.
I am trying to decrease the sensitivity of the digital crown inside my app: on rotation, the user moves from one hole to another, and currently, they might skip some holes because of the high sensitivity of the crown. In SwiftUI, there is a method called digitalCrownRotation [https://developer.apple.com/documentation/swiftui/view/digitalcrownrotation(_:from:through:sensitivity:iscontinuous:ishapticfeedbackenabled:onchange:onidle:)].
I didn't find anything in the Apple documentation, is there something similar for UIKit?