Aprove answer

You can use method called "SSL Pinning". You should package server certificate with your application and check if it is equal to current connected server. If you use AFNetworking you can do it easily with AFHTTPRequestOperation's SSLPinningMode property.

Some useful links: http://www.doubleencore.com/2013/03/ssl-pinning-for-increased-app-security/ http://nsscreencast.com/episodes/73-ssl-pinning

Credit Goes to: stackoverflow.com

Related question with same questions but different answers