我已经从 appDelegate 调用了一个类方法,如下所示:
    RankingAndSMProcess *process = [RankingAndSMProcess alloc];
    [process performSelectorInBackground:@selector(DoRankingAndSocialMediaProcessing) withObject:nil];
    [process release];
此方法调用其他方法:
     @try {
         [self GoForRankingProcess];
         [self updateItemsForPeerindex];
         [self updateItemsForKloat];
         [self updateItemsForKred];
     }
     @catch (NSException *exception) {
         NSLog(@"An Error has been occured:%@", exception);
     }
     @finally { 
         [items release];
         [profile release];
     }
从 RankingAndSMProcess 中的 DoRankingAndSocialMediaProcessing 方法中调用的所有方法都必须以与后台线程上的 DoRankingAndSocialMediaProcessing 相同的方式调用吗?或者这里还有另一个潜在的问题?
目前我认为没有任何处理方法被解雇,因为没有收集新数据。
在添加更改调用以在后台执行之前,所有方法和整个过程都按预期工作。