Post

Replies

Boosts

Views

Activity

Comment on ControlWidgetToggle image design
Hi Albert, I created a sample project, you can find it here: https://github.com/benrudhart/ControlWidgetTest You'll be able to see that the SFSymbol for off state is rendered differently when the control is used on the lock screen. Also: the tint color/ foregroundStyle is always ignored
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’26
Comment on ControlWidgetToggle image design
Thank you! Regarding SF Symbols in ControlWidgetToggle: I am using a Label with both text and system image. For testing I'm keeping the same symbol for .on and .off state, setting a fixed font, e.g. .font(.system(size: 20)) -> but it doesn't work: The symbol is rendered way smaller in the off state. Hint I'm using the ControlWidgetToggle on the lock screen bottom (the default place of flashlight/ camera).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’26
Comment on Changing watchOS Deployment Target - What happens to users on old versions
Unfortunately there isn’t a way to serve an older version of the app to customers who cannot update their OS. What exactly does this mean? If I drop watchOS 10 (increase to 11) - will users with older Hardware (e.g. Apple Watch SE1) still receive the update on their iPhone (cause it runs iOS 18 or 26) and thus render the app useless as the companion app is no longer installable on their watch?
Nov ’25
Comment on Changing watchOS Deployment Target - What happens to users on old versions
Excellent question @khagan and thank you for you answer @Frameworks Engineer. I have one follow up: Is it still working the same with latest releases (iOS 26 and watchOS pre 26 (e.g. 10 or 11))? What happens if the user opens the detail page of my app on the App Store on iPhone: Will they "see" the update (i.e. enabled "Update" button) or will the update be hidden from them? In other words: Is updating only prevented from automatic updates or also from manually triggered ones?
Nov ’25
Comment on How to use generated symbols from string catalogs in SPM packages
Thank you, that worked. Is it important to put my string catalog in a folder called Resources? (I realized mine had a typo but it still worked). When working with SF symbols in Texts, I'm wondering how this should work with generated symbols: Previously this worked (with strings instead of symbols): let image = Image(systemName: "exclamationmark") Text("myKey(image)", bundle: .module) When converting this generated key to a symbol it uses a String argument in the generated function :(
Jun ’25
Comment on SwiftData - Context missing for optional
@DTS Engineer Ziqiao Chen: What is the recommended way of handling the situation if a SwiftUI View is holding a reference to the Model but the model gets deleted? When using relationship in the model I figured out this: Before accessing the relationship I check both: model.isDeleted || model.modelContext == nil. In either case I must not access the relationship property to avoid a crash. -> is there a best practice way of handling this?
Topic: App & System Services SubTopic: iCloud Tags:
Aug ’24
Comment on ControlWidgetToggle image design
Hi Albert, I created a sample project, you can find it here: https://github.com/benrudhart/ControlWidgetTest You'll be able to see that the SFSymbol for off state is rendered differently when the control is used on the lock screen. Also: the tint color/ foregroundStyle is always ignored
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’26
Comment on ControlWidgetToggle image design
Thank you! Regarding SF Symbols in ControlWidgetToggle: I am using a Label with both text and system image. For testing I'm keeping the same symbol for .on and .off state, setting a fixed font, e.g. .font(.system(size: 20)) -> but it doesn't work: The symbol is rendered way smaller in the off state. Hint I'm using the ControlWidgetToggle on the lock screen bottom (the default place of flashlight/ camera).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’26
Comment on Changing watchOS Deployment Target - What happens to users on old versions
Unfortunately there isn’t a way to serve an older version of the app to customers who cannot update their OS. What exactly does this mean? If I drop watchOS 10 (increase to 11) - will users with older Hardware (e.g. Apple Watch SE1) still receive the update on their iPhone (cause it runs iOS 18 or 26) and thus render the app useless as the companion app is no longer installable on their watch?
Replies
Boosts
Views
Activity
Nov ’25
Comment on Changing watchOS Deployment Target - What happens to users on old versions
OK, I see, thank you. So how can I find out if it's safe to increase my minimum deployment target for the watchOS companion app without making the app useless for a part of my users? Since there is not an easy way to go back, I would rather not simply try it and mess around with my users. In any case: What is the recommended way to handle this?
Replies
Boosts
Views
Activity
Nov ’25
Comment on Changing watchOS Deployment Target - What happens to users on old versions
Excellent question @khagan and thank you for you answer @Frameworks Engineer. I have one follow up: Is it still working the same with latest releases (iOS 26 and watchOS pre 26 (e.g. 10 or 11))? What happens if the user opens the detail page of my app on the App Store on iPhone: Will they "see" the update (i.e. enabled "Update" button) or will the update be hidden from them? In other words: Is updating only prevented from automatic updates or also from manually triggered ones?
Replies
Boosts
Views
Activity
Nov ’25
Comment on How to use generated symbols from string catalogs in SPM packages
Thank you, that worked. Is it important to put my string catalog in a folder called Resources? (I realized mine had a typo but it still worked). When working with SF symbols in Texts, I'm wondering how this should work with generated symbols: Previously this worked (with strings instead of symbols): let image = Image(systemName: "exclamationmark") Text("myKey(image)", bundle: .module) When converting this generated key to a symbol it uses a String argument in the generated function :(
Replies
Boosts
Views
Activity
Jun ’25
Comment on SwiftData - Context missing for optional
@DTS Engineer Ziqiao Chen: What is the recommended way of handling the situation if a SwiftUI View is holding a reference to the Model but the model gets deleted? When using relationship in the model I figured out this: Before accessing the relationship I check both: model.isDeleted || model.modelContext == nil. In either case I must not access the relationship property to avoid a crash. -> is there a best practice way of handling this?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’24