I'm trying to implement WidgetKit on my watchOS 9.1 app. When I'm editing the watch face, I see the widget looking as I would expect it to be. However, when I then go to the Home Screen, the data is redacted.
What's causing that to happen? I don't do anything luminance or security related in the widget's view:
struct AccessoryRectangularView: View {
let tide: Tide
var body: some View {
HStack {
VStack(alignment: .leading) {
Text("Height: \(tide.heightString())")
.font(.headline)
.widgetAccentable()
Text("As of: \(tide.date, style: .time)")
.font(.caption)
}
tide.image()
}
}
}
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
When sharing a watch face that includes complications, the CLKComplicationDataSource method gets called. When switching to WidgetKit, is there an equivalent method that gets called?
I see that if I go to the CloudKit web services pages that they're in an archived area. I've got (really old) PHP code that processes data and then uploads it to a public container. Should I be changing to something different?