Authored by Justin R. Miller

allow for background fetch QoS on iOS 8+

@@ -330,6 +330,10 @@ @@ -330,6 +330,10 @@
330 330
331 _backgroundFetchQueue = [NSOperationQueue new]; 331 _backgroundFetchQueue = [NSOperationQueue new];
332 [_backgroundFetchQueue setMaxConcurrentOperationCount:6]; 332 [_backgroundFetchQueue setMaxConcurrentOperationCount:6];
  333 + if ([_backgroundFetchQueue respondsToSelector:@selector(setQualityOfService:)])
  334 + {
  335 + [_backgroundFetchQueue setQualityOfService:NSQualityOfServiceUtility];
  336 + }
333 337
334 NSUInteger totalTiles = [self tileCountForSouthWest:southWest northEast:northEast minZoom:minZoom maxZoom:maxZoom]; 338 NSUInteger totalTiles = [self tileCountForSouthWest:southWest northEast:northEast minZoom:minZoom maxZoom:maxZoom];
335 339