2014-06-18 7 views

Répondre

0

SPAsyncLoading Le callback contient deux paramètres. Le premier est un tableau d'éléments qui ont été chargés, et le second qui n'a pas été chargé.

[SPAsyncLoading waitUntilLoaded:items timeout:kSPAsyncLoadingDefaultTimeout then:^(NSArray *loadedItems, NSArray *notLoadedItems) { 

    if (notLoadedItems.count > 0) { 
     NSLog(@"Some items failed to load!"); 
    } 
}]; 
Questions connexes