Post

Replies

Boosts

Views

Activity

How can I use an accessibility identifier for a SwiftUI TextField on an Apple Watch?
I'm implementing XCUI tests for an Apple Watch app and have trouble with text fields. I suspect it's a bug (FB9983700) TextField("Hello, World!", text: $text) .accessibilityIdentifier("hellotext") XCTAssertTrue(app.textFields["hellotext"].exists) // Fails on watch but works on iPhone I found a workaround by using otherElements instead of textFields, but then the test will have to be different between iOS and watchOS. Does anyone know of a better way?
0
0
424
Apr ’22
gRPC / SwiftNIO on WatchOS 9?
Hi, it seems gRPC stopped working on WatchOS 9. I suspect it's the same underlying reason as https://developer.apple.com/forums/thread/127232 and https://developer.apple.com/forums/thread/715024?answerId=728915022#728915022. Is that correct? My gRPC client works fine in the Watch simulator and on iOS, but on Watch devices channels seem to disconnect. Does anybody know if this functionality is gone for good, or is it expected to work?
1
0
813
Sep ’22