1
AppBox.signInWithNaver(
2
webView: webView,
3
callId: callId
4
) { user, error in
5
if let user {
6
completeLogin(user.uid)
7
} else {
8
showLoginError(error)
9
}
10
}
1
[AppBox signInWithNaverWebView:webView
2
callId:callId
3
completion:^(AppBoxUserAuthData *user, NSError *error) {
4
if (user != nil) {
5
[self completeLogin:user.uid];
6
} else {
7
[self showLoginError:error];
8
}
9
}];