Post

Replies

Boosts

Views

Activity

Comment on SwiftUI Gestures prevent scrolling with iOS 18
I decided to not use .simultaneousGesture and keep gesture support disabled for the moment. The problem is that with Swift Charts you can long press and reveal a RuleMark. The problem is that while I RuleMark is revealed the user can drag to reveal the RuleMark values for other entries in the chart. That is triggering my drag logic. As with scrolling, this was not a problem with iOS 17.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Comment on Change in behavior for .isToggle trait
Thank you for responding. I actually was already using .accessibilityAddTraits(.isToggle). You can see it in the code I included. The issue was that with iPadOS 18 VoiceOver was always saying that my toggle was off when iPadOS 17 was not doing that. I filed FB15045849 about the documentation as requested.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Comment on Trouble using more than one color with SF Symbols in tinted mode
Thanks for responding! That doesn't work for me in tinted mode. This results in an all white symbol. Image(systemName: "sun.horizon.fill") .symbolRenderingMode(.multicolor) This results in an all tinted symbol. Image(systemName: "sun.horizon.fill") .symbolRenderingMode(.multicolor) .widgetAccentable() This also results in an all tinted symbol. Image(systemName: "sun.horizon.fill") .symbolRenderingMode(.multicolor) .widgetAccentable() .foregroundStyle(.white, .tint)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Comment on Should weather from the following day at midnight be used for the current day?
Appreciate the quick response! I think what's really confusing is that the comment in the code for (as an example) lowTemperateTime says "The time at which the low temperature occurs on this day." But the answer returned isn't a date on that day. I can add some code around this now that I know it's expected. Thank you!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Comment on SwiftUI Gestures prevent scrolling with iOS 18
I decided to not use .simultaneousGesture and keep gesture support disabled for the moment. The problem is that with Swift Charts you can long press and reveal a RuleMark. The problem is that while I RuleMark is revealed the user can drag to reveal the RuleMark values for other entries in the chart. That is triggering my drag logic. As with scrolling, this was not a problem with iOS 17.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Change in behavior for .isToggle trait
Thank you for responding. I actually was already using .accessibilityAddTraits(.isToggle). You can see it in the code I included. The issue was that with iPadOS 18 VoiceOver was always saying that my toggle was off when iPadOS 17 was not doing that. I filed FB15045849 about the documentation as requested.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Trouble using more than one color with SF Symbols in tinted mode
Thanks for responding! That doesn't work for me in tinted mode. This results in an all white symbol. Image(systemName: "sun.horizon.fill") .symbolRenderingMode(.multicolor) This results in an all tinted symbol. Image(systemName: "sun.horizon.fill") .symbolRenderingMode(.multicolor) .widgetAccentable() This also results in an all tinted symbol. Image(systemName: "sun.horizon.fill") .symbolRenderingMode(.multicolor) .widgetAccentable() .foregroundStyle(.white, .tint)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24