We have been building a iOS app that is about Client - Server App. We are using an SQL connection and WCF web services in the iOS app with Xamarin.
SQL Connection Code :
Change your server IP: 10.0.0.0 to the domain name, such as db.test.com, it's Apple's recommended approach.
string input = "db.test.com"; IPAddress[] ads = Dns.GetHostAddresses (input); string ips = ads[0];