Post

Replies

Boosts

Views

Activity

Refresh SmartStack Widget in watchOS 11
Hi, I have an app that provides a SmartStack Widget. The content in that widget is dependent on a state inside the application so from time to time the app needs to update the widget state. I tried: WidgetCenter.shared.invalidateConfigurationRecommendations() WidgetCenter.shared.reloadAllTimelines() However this does not have any effect. I only see updates on reboots (device with watchOS 11 B5) Is there any other way or am I doing something wrong?
2
0
1k
Aug ’24
watchOS 10 TextField background behaviour in List
Hi, I am struggling with a design change in watchOS 10. I have a TextField next to an Image in an HStack inside a List The following code produces another (correct looking view) when using watchOS9. With watchOS10 a strange background is added that I can not remove. struct ContentView: View { @State private var searchFieldInput: String = "" var body: some View { List { HStack{ Image(systemName: "magnifyingglass").foregroundColor(.accentColor) TextField("Search", text: $searchFieldInput) } } } } This picture shows the difference: (watchOS 9 on the left; watchOS 10 on the right Does anybody know how to remove this background or if this intentionally? I already filed a Feedback (FB12293618) but haven't heard back yet
2
2
1.1k
Oct ’23
Refresh SmartStack Widget in watchOS 11
Hi, I have an app that provides a SmartStack Widget. The content in that widget is dependent on a state inside the application so from time to time the app needs to update the widget state. I tried: WidgetCenter.shared.invalidateConfigurationRecommendations() WidgetCenter.shared.reloadAllTimelines() However this does not have any effect. I only see updates on reboots (device with watchOS 11 B5) Is there any other way or am I doing something wrong?
Replies
2
Boosts
0
Views
1k
Activity
Aug ’24
AppIntents besides Workout related ones for Watch Action Button
I would be great if the watchOS can adopt some of the new App Intents for the Action Button on iOS. On Apple Watch Ultra this is still limited on workout related Intents (However system apps like flash light can do more). See als this FB: FB11699104 (opened in 2022) Best regards Arno
Replies
1
Boosts
1
Views
686
Activity
Jun ’24
watchOS 10 TextField background behaviour in List
Hi, I am struggling with a design change in watchOS 10. I have a TextField next to an Image in an HStack inside a List The following code produces another (correct looking view) when using watchOS9. With watchOS10 a strange background is added that I can not remove. struct ContentView: View { @State private var searchFieldInput: String = "" var body: some View { List { HStack{ Image(systemName: "magnifyingglass").foregroundColor(.accentColor) TextField("Search", text: $searchFieldInput) } } } } This picture shows the difference: (watchOS 9 on the left; watchOS 10 on the right Does anybody know how to remove this background or if this intentionally? I already filed a Feedback (FB12293618) but haven't heard back yet
Replies
2
Boosts
2
Views
1.1k
Activity
Oct ’23
watchOS and SwiftUI Link
Hi, It seems that the Link Object in SwiftUI is dedicated to link to a webpage like this: Link(destination: policyURL!) { Text("Link") } Unfortunately it is not functional on watchOS. If I provide a weburl to it, it says the operation is not supported. Best regards, Arno
Replies
2
Boosts
0
Views
2.8k
Activity
Oct ’21