Skip to content

Commit

Permalink
Document expected session manager usage for background sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
getaaron committed Oct 19, 2014
1 parent 646d9b5 commit db38f3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AFNetworking/AFHTTPSessionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
@warning If your app uses background sessions, you must create a shared singleton or otherwise retain the session manager for the intended duration of the background session.
For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.
## Methods to Override
Expand Down

0 comments on commit db38f3a

Please sign in to comment.