|
@@ -149,7 +149,7 @@ typedef void (^AFURLSessionTaskCompletionHandler)(NSURLResponse *response, id re
|
|
|
[weakTask suspend];
|
|
|
};
|
|
|
#if __has_warning("-Wunguarded-availability")
|
|
|
- if (@available(iOS 9, macOS 10.11, tvOS 9, watchOS 2, *)) {
|
|
|
+ if (@available(iOS 9, macOS 10.11, *)) {
|
|
|
#else
|
|
|
if ([progress respondsToSelector:@selector(setResumingHandler:)]) {
|
|
|
#endif
|