PSPDFNetworkActivityIndicatorManager
Objective-C
@protocol PSPDFNetworkActivityIndicatorManager <NSObject>
Swift
protocol NetworkActivityIndicatorManager : NSObjectProtocol
The network indicator manager will track the number of currently open network request.
-
A Boolean value indicating whether the manager is enabled. This flag defines if the
networkActivityIndicatorVisible
in the shared application is updated.Note
Requests are always tracked, regardless of this setting. Defaults to YES.Declaration
Objective-C
@property (nonatomic, getter=isEnabled) BOOL enabled;
Swift
var isEnabled: Bool { get set }
-
Indicates if the network activity indicator is currently visible.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isNetworkActivityIndicatorVisible;
Swift
var isNetworkActivityIndicatorVisible: Bool { get }
-
Increments the number of active network requests.
-
Decrements the number of active network requests.