diff --git a/NaverIDLoginSample/SampleOAuthViewController.m b/NaverIDLoginSample/SampleOAuthViewController.m index cee2b47..3f623d8 100644 --- a/NaverIDLoginSample/SampleOAuthViewController.m +++ b/NaverIDLoginSample/SampleOAuthViewController.m @@ -126,9 +126,9 @@ - (void)didClickCheckNidTokenBtn:(SampleOAuthView *)view { [_mainView setResultLabelText:@"로그인 하세요."]; return; } - //xml - //NSString *urlString = @"https://openapi.naver.com/v1/nid/getUserProfile.xml"; // 아이디 호출 - //json + //xml + //NSString *urlString = @"https://openapi.naver.com/v1/nid/getUserProfile.xml"; // 사용자 프로필 호출 + //json NSString *urlString = @"https://openapi.naver.com/v1/nid/me"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString]]; @@ -157,10 +157,10 @@ - (void)didClickGetUserProfileBtn:(SampleOAuthView *)view { [_mainView setResultLabelText:@"로그인 하세요."]; return; } - - //xml + + //xml //NSString *urlString = @"https://openapi.naver.com/v1/nid/getUserProfile.xml"; // 사용자 프로필 호출 - //json + //json NSString *urlString = @"https://openapi.naver.com/v1/nid/me"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString]]; @@ -252,4 +252,6 @@ - (void)oauth20Connection:(NaverThirdPartyLoginConnection *)oauthConnection didF NSLog(@"NaverApp login fail handler"); } + + @end diff --git a/NaverThirdPartyLogin.framework/Info.plist b/NaverThirdPartyLogin.framework/Info.plist index dc7ee74..906a797 100644 Binary files a/NaverThirdPartyLogin.framework/Info.plist and b/NaverThirdPartyLogin.framework/Info.plist differ diff --git a/NaverThirdPartyLogin.framework/NaverThirdPartyLogin b/NaverThirdPartyLogin.framework/NaverThirdPartyLogin index fc96c6b..81e504f 100755 Binary files a/NaverThirdPartyLogin.framework/NaverThirdPartyLogin and b/NaverThirdPartyLogin.framework/NaverThirdPartyLogin differ