If you try to authenticate with Dynamics CRM from iOS initially, you will need a lot of time ... and when I say a lot, LOT.
There are different CRM configurations On-Premise / On-line, and it will be even more complicated with IFD and https (where you really need to authenticate against ADFS, check the certificate chain ... etc.).
The easiest way to start is that you can open the proxy web service, implemented in .NET, which is dedicated to authentication against CRM for you, and then authenticate this web service from your iOS application (using a simple https request and a simpler authentication mechanism)
But even doing this is still a lot of time.
Jordi source share