SinchService 是 Sinch RTC SDK for iOS 的补充组件 (http://www.sinch.com/ios/)。
#import <Sinch/Sinch.h>
#import <SinchService/SinchService.h>
id config = [SinchService configWithApplicationKey:@"<APPLICATION KEY>"
applicationSecret:@"<APPLICATION SECRET>"
environmentHost:@"sandbox.sinch.com"];
[config pushNotificationsWithEnvironment:SINAPSEnvironmentAutomatic];
id<SINService> sinch = [SinchService serviceWithConfig:config];
sinch.delegate = self;
sinch.callClient.delegate = self;
sinch.messageClient.delegate = self;
[sinch logInUserWithId:@"<USER ID>"];