Post

Replies

Boosts

Views

Activity

Reply to Picker Label not showing anymore
If you embed the Picker inside of a Menu, it lets you create a custom label. I'm not sure if this was intended by SwiftUI, but it seems to work perfectly as expected. Menu { Picker(selection: $selectedFruit, label: Text("Select Favorite Fruit")) { ForEach(0..<fruits.count, id: \.self) { Text(fruits[$0]) } } } label: { HStack { Text("Favorite Fruit") Divider() Text(fruits[selectedFruit]) } } Source: https://stackoverflow.com/q/70835085
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to Picker Label not showing anymore
If you embed the Picker inside of a Menu, it lets you create a custom label. I'm not sure if this was intended by SwiftUI, but it seems to work perfectly as expected. Menu { Picker(selection: $selectedFruit, label: Text("Select Favorite Fruit")) { ForEach(0..<fruits.count, id: \.self) { Text(fruits[$0]) } } } label: { HStack { Text("Favorite Fruit") Divider() Text(fruits[selectedFruit]) } } Source: https://stackoverflow.com/q/70835085
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Connection error sending Local UserNotification
I've been randomly getting this too in iOS 15.4-6 but can't pin point when. Have you figured anything about this?
Replies
Boosts
Views
Activity
Aug ’22
Reply to AttributeGraph: cycle detected
Same issue, seems like TextField + Focus + Keyboard is causing the attribute graph issue for me.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Complications in WidgetKit - .accessoryCorner with curved text
This is still an issue with watchOS 9.1 / Xcode 14.1. It gets truncated no matter what I do, I can't put any reasonable text in there not even a time or count down! It looks silly with so much wasted space around it, not sure why Apple is saying they won't support it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to After iOS 16.1 Widgets + Extensions get the local form device language not from the app
I'm having the same issue, I submitted a ticket but no response yet: FB11737627. Any updates?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Complications in WidgetKit - .accessoryCorner with curved text
The comment above doesn't work which is for an icon and doesn't address the issue. Any updates from anyone? This is the biggest complaint on my app. Developers and users are frustrated Apple dropping the ball on this :(
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Text with relative date - sizing bug when used in widget
Same with official iOS 18 release. See existing thread about known issue: https://forums.developer.apple.com/forums/thread/762658
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24