diff --git a/AFNetworking/AFNetworkActivityIndicatorManager.h b/AFNetworking/AFNetworkActivityIndicatorManager.h index 31b1fb8..d054f17 100644 --- a/AFNetworking/AFNetworkActivityIndicatorManager.h +++ b/AFNetworking/AFNetworkActivityIndicatorManager.h @@ -22,11 +22,14 @@ #import +#import + +#if __IPHONE_OS_VERSION_MIN_REQUIRED +#import + /** `AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a network request operation has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero. */ - -#if __IPHONE_OS_VERSION_MIN_REQUIRED @interface AFNetworkActivityIndicatorManager : NSObject { @private NSInteger _activityCount;