Add warnings to docs for threading, properly dispatch internally

This commit is contained in:
Lukas Spieß
2015-10-05 13:52:24 +02:00
parent 44b231225c
commit bccfc61a42
7 changed files with 23 additions and 12 deletions

View File

@@ -545,7 +545,9 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
if ([self hasNewerMandatoryVersion] || [self expiryDateReached]) {
[updateViewController setMandatoryUpdate: YES];
}
[self showView:updateViewController];
dispatch_async(dispatch_get_main_queue(), ^{
[self showView:updateViewController];
});
}