问题
I have installed Lync 2013 mobile client in iOS and I know that executing lync:// url scheme like below
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"lync://"]];
will open the installed Lync app but I would like to know more about the other URL parameters that can be used in custom url scheme for performing other actions like for example
- Automatic login using the credentials
- Open a meeting URL
回答1:
It doesn't appear to be possible at this point.
Somebody asked a question on Technet really closely related to yours two years ago and got an answer that URL parameters are not supported with the Lync client on iOS.
And here's another question asking about parameters with pretty much the same result.
Sounds like you should file a feature request with Microsoft to make it happen.
回答2:
MSDN documentation lists all the scheme URIs and the parameters that you can pass.
For Lync 2010, you can use:
Lync://
For Lync 2013, you can use any of the following:
Tel:+14255550101 -> Opens a phone-only view with +14255550101.
Callto:tel:+ 14255550101 -> Opens a phone-only view with +14255550101.
Callto:sip:name@example.com -> Opens a phone-only view with name@example.com
sip:name@example.com -> Opens a Conversation window with name@example.com
conf:sip:https://meet.contoso.com/name/7322994
Full details can be found on MSDN here
回答3:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sip://"]];
来源:https://stackoverflow.com/questions/19221088/opening-lync-2013-mobile-client-from-third-party-ios-app