IMSAccountUIProtocol Protocol Reference

Conforms to NSObject
Declared in IMSAccountUIProtocol.h

Overview

IMSAccountService的UI提供者必须实现IMSAccountUIProtocol协议

– showLoginWithController:success:failure: required method

显示登录窗口

- (void)showLoginWithController:(UIViewController *)controller success:(void ( ^ ) ( NSDictionary *session ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

controller

调用登录页面的视图控制器

success

调用登录页面成功后的回调处理,返回会话信息

failure

调用登录页面失败时的回调处理,返回错误信息

Discussion

显示登录窗口

Declared In

IMSAccountUIProtocol.h