ChatTester.m: add some delay after accepting System notification for photos access so that next view appears

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-02 14:51:37 +02:00
parent ef4c586c0d
commit 7c937c96cb

View file

@ -160,6 +160,7 @@
if ([ALAssetsLibrary authorizationStatus] == ALAuthorizationStatusNotDetermined) {
#if TARGET_IPHONE_SIMULATOR
[tester acknowledgeSystemAlert];
[tester waitForTimeInterval:1];
#endif
}