Post

Replies

Boosts

Views

Activity

Reply to Limit width of wheel style picker on iOS
I'm running into the same issue now. It was working great with .clipped().compositingGroup() previously. It's in a part of the app that I don't regularly use, so I didn't notice until today that this broke with iOS15.1. I'm also on Xcode 13.2.1, same broken behaviour in the simulator and on a real device.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’22
Reply to Scroll in UI Tests on Apple Watch not working
After a lot of digging around, I've been able to find the following solution/workaround: func scrollUp() { let app = XCUIApplication()     let relativeTouchPoint = app.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 1.0))     let relativeOffset = app.coordinate(withNormalizedOffset: CGVector(dx: 0, dy: -1))     relativeTouchPoint.press(forDuration: 0, thenDragTo: relativeOffset) }
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’21
Reply to Limit width of wheel style picker on iOS
I'm running into the same issue now. It was working great with .clipped().compositingGroup() previously. It's in a part of the app that I don't regularly use, so I didn't notice until today that this broke with iOS15.1. I'm also on Xcode 13.2.1, same broken behaviour in the simulator and on a real device.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to SwiftUI crash when using wheel style Picker in form in form
After struggling with this issue for a day, I find the answer half an hour after posting. The solution is to replace the Form in SubForm with List, and it gives me exactly what I'm looking for.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Scroll in UI Tests on Apple Watch not working
After a lot of digging around, I've been able to find the following solution/workaround: func scrollUp() { let app = XCUIApplication()     let relativeTouchPoint = app.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 1.0))     let relativeOffset = app.coordinate(withNormalizedOffset: CGVector(dx: 0, dy: -1))     relativeTouchPoint.press(forDuration: 0, thenDragTo: relativeOffset) }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21