How to Configure Network Proxy for Your iOS App

How to Configure Network Proxy for Your iOS App

Rarely do we use proxies on our personal devices to access anything. But when you are developing an app for a client, and they want only whitelisted IPs to access their server, you will have to set up a proxy. You can set up a proxy for all network traffic or a specific set of network calls (for example, requests from within an app).

Let me walk you through the steps to configure proxy settings for your Mac or iPhone globally. 

(more…)
Public Key Info Hash SSL Pinning in Swift Using TrustKit

Public Key Info Hash SSL Pinning in Swift Using TrustKit

This post is for anyone who’s trying to implement Public Key Info Hash SSL Pinning in iOS using TrustKit. The process is very straightforward except when you goof up by missing a tiny detail. A lot of documentation is already available on this topic. I’m just bringing the whole process under one roof.

(more…)