Post

Replies

Boosts

Views

Activity

XCUITest "MyApp" Would Like to Access Your Photo Library
I can't work out how to deal with the dialog presented when an app first tries to access a photo library: This screenshot shows the dialog still presented after the app has quit, which suggests to me that it's a system-level rather than app-level dialog; but the handler for addUIInterruptionMonitor(withDescription:handler:) isn't called (whereas it is for both the "Allow MyApp to use your location?" and "MyApp Would Like to Send You Notifications" dialogs). But nor does it appear to be an app-level dialog under XCUIApplication. How can I handle this dialog in my UI testing? Thanks, Hamish
0
0
807
Oct ’23
NSBrowser in SwiftUI
Is there a SwiftUI equivalent for NSBrowser? I tried to create my own with a (horizontal) ScrollView containing an HStack of Lists, but it looks like List's selection can currently only be used for editing mode (i.e. checkmarks) rather than normal mode (i.e. gray backgrounds).
0
0
663
May ’21