|
|
@@ -277,8 +277,10 @@
|
|
|
int result = [[json objectForKey:@"result"] intValue];
|
|
|
if (result == RESULT_TRUE) {
|
|
|
|
|
|
- BOOL requiredLocation = [[json objectForKey:@"requiredLocation"] boolValue];
|
|
|
- [RASingleton sharedInstance].requiredLocation = requiredLocation;
|
|
|
+ dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
+ BOOL requiredLocation = [[json objectForKey:@"requiredLocation"] boolValue];
|
|
|
+ [RASingleton sharedInstance].requiredLocation = requiredLocation;
|
|
|
+ });
|
|
|
|
|
|
[strongSelf syncUploadPhotos:photoArr Json:json HUD:nil];
|
|
|
|