问题
I'm developing an iOS app where it requires to use EWS managed APIs. I've searched the web thoroughly but I'm not getting any success.
It requires to get and set user's profile information, i.e. User's display name, company name, phone number etc.
回答1:
EWS Managed API is for Windows desktop apps only. You can use Exchange Web Service SOAP endpoint directly. Although it will be little tedious to handle xml based requests/responses but do-able. Take a look at this channel9 talk: Developing Mobile Apps with Microsoft Exchange Web Services
Edit: I don't have any personal experience of getting iOS app to work with EWS though, but I'm pretty confident that it should work. Also, I guess you will need Exchange Server to support Basic Auth which is the case with Exchange Online but not sure about On-Premise(and it's variants). If link provided above is not up anymore, my recommendation is to just follow Exchange Web Services documentation from Microsoft (not Exchange Managed API)
回答2:
Solution is to use Xamarin. With Xamarin we use Exchange Web Services .NET. It is commercial API, but works great.
来源:https://stackoverflow.com/questions/24506891/ews-managed-apis-in-ios