Hi, in the past we can set cookie in the following way
Alamofire.Manager.sharedInstance.session.configuration.HTTPCookieStorage?.setCookies
Now the manager is replaced with SessionManager, but it doesn't have the sharedInstance anymore.
How to do this now in the new version?
Thanks!
@qgliu sharedInstance has been renamed default in accordance with Swift 3's new naming guidelines. You'll find what you want there.
Most helpful comment
@qgliu
sharedInstancehas been renameddefaultin accordance with Swift 3's new naming guidelines. You'll find what you want there.