ChatTester.m: acknowledgeSystemAlert only available on simulator

This commit is contained in:
Gautier Pelloux-Prayer 2015-06-15 15:57:22 +02:00
parent 1d4044e9bf
commit 40c3d74c6b

View file

@ -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];