Post

Replies

Boosts

Views

Activity

Comment on How to Edit Complication name in Watch app of iPhone?
Actually, it’s better to pass an empty array of CLKComplicationDescriptor’s - just []. Apparently, there is no difference in the result. Moreover - passing some CLKComplicationDescriptor with displayName cause in appearing an empty complication with that name, which is not we want. So all we need is to implement a ComplicationController class with CLKComplicationDataSource conformance and empty methods (plus Info.plist key).
Topic: App & System Services SubTopic: General Tags:
Oct ’22
Comment on How to set name for complications?
Actually, it’s better to pass an empty array of CLKComplicationDescriptor’s - just []. Apparently, there is no difference in the result. Moreover - passing some CLKComplicationDescriptor with displayName cause in appearing an empty complication with that name, which is not we want. So all we need is to implement a ComplicationController class with CLKComplicationDataSource conformance and empty methods (plus Info.plist key).
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Comment on PhotosPicker doesn’t appear when declared inside Menu
That’s exactly the solution, thanks! When this modifier came around?.. Was it available since the availability of PhotoPicker view? One thing - I guess we don’t have the ability to change the detends of the appearing picker as we have it for sheets?
Replies
Boosts
Views
Activity
Jun ’23
Comment on How to Edit Complication name in Watch app of iPhone?
Actually, it’s better to pass an empty array of CLKComplicationDescriptor’s - just []. Apparently, there is no difference in the result. Moreover - passing some CLKComplicationDescriptor with displayName cause in appearing an empty complication with that name, which is not we want. So all we need is to implement a ComplicationController class with CLKComplicationDataSource conformance and empty methods (plus Info.plist key).
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on How to set name for complications?
Actually, it’s better to pass an empty array of CLKComplicationDescriptor’s - just []. Apparently, there is no difference in the result. Moreover - passing some CLKComplicationDescriptor with displayName cause in appearing an empty complication with that name, which is not we want. So all we need is to implement a ComplicationController class with CLKComplicationDataSource conformance and empty methods (plus Info.plist key).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on How can I make it behave like deeplink when watchOS Complication made by WidgetKit tapped.
BennetK. Ok, that’s sounds hopefully. In watchOS app I use .onOpenURL in ContentView - just like in iOS app. But there is no call to it when I tap on complication. I use the shared code for widgets for both iOS and watchOS apps (there I have widgetURL for the View). So there is no difference in the approach.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22