From 5f4ef039c31153e9caa3c68b602c9e406783442f Mon Sep 17 00:00:00 2001 From: "David F. Muir V" Date: Mon, 31 Aug 2015 19:53:12 -0400 Subject: [PATCH] Update README.md In README.md section "Creating a Manager with Background Configuration": replaced reference to deprecated method backgroundSessionConfiguration of NSURLSessionConfiguration with the new method as of iOS 8.0 called backgroundSessionConfigurationWithIdentifier --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4580a4..09ba87d 100644 --- a/README.md +++ b/README.md @@ -555,7 +555,7 @@ let manager = Alamofire.Manager(configuration: configuration) #### Creating a Manager with Background Configuration ```swift -let configuration = NSURLSessionConfiguration.backgroundSessionConfiguration("com.example.app.background") +let configuration = NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier("com.example.app.background") let manager = Alamofire.Manager(configuration: configuration) ``` -- GitLab