Search code examples
iosalamofire

Alamofire pinning for shared Manager


In Alamofire 3.0 How can I set my own ServerTrustPolicyManager for shared Manager? My goal is set SSL pinning (e.g. bundled public SSL key) for whole app.


Solution

  • You cannot. You MUST create a custom Manager to do this.