浏览代码

Correct AFURLSessionManager comments. (#4614)

Huang-Libo 4 年之前
父节点
当前提交
6118f99092
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AFNetworking/AFURLSessionManager.h

+ 1 - 1
AFNetworking/AFURLSessionManager.h

@@ -416,7 +416,7 @@ NS_ASSUME_NONNULL_BEGIN
 - (void)setDataTaskWillCacheResponseBlock:(nullable NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block;
 
 /**
- Sets a block to be executed once all messages enqueued for a session have been delivered, as handled by the `NSURLSessionDataDelegate` method `URLSessionDidFinishEventsForBackgroundURLSession:`.
+ Sets a block to be executed once all messages enqueued for a session have been delivered, as handled by the `NSURLSessionDelegate` method `URLSessionDidFinishEventsForBackgroundURLSession:`.
 
  @param block A block object to be executed once all messages enqueued for a session have been delivered. The block has no return value and takes a single argument: the session.
  */