mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
ChatTester.m: acknowledgeSystemAlert only available on simulator
This commit is contained in:
parent
1d4044e9bf
commit
40c3d74c6b
1 changed files with 2 additions and 0 deletions
|
|
@ -171,7 +171,9 @@
|
|||
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Photo library")];
|
||||
// if popup "Linphone would access your photo" pops up, click OK.
|
||||
if ([ALAssetsLibrary authorizationStatus] == ALAuthorizationStatusNotDetermined) {
|
||||
#if TARGET_IPHONE_SIMULATOR
|
||||
[tester acknowledgeSystemAlert];
|
||||
#endif
|
||||
}
|
||||
|
||||
[tester choosePhotoInAlbum:@"Camera Roll" atRow:1 column:1];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue