2016-08-29 2 views
1

Swift 앱과 Pinterest간에 인증을 구현하려고합니다. Safari에서 pinterest 인증 페이지를 열도록 앱을 설치할 수 있지만Pinterest 인증이 실패합니다. -canOpenURL : URL에 실패 : "pinterestsdk.v1 : // oauth

CODE :

PDKClient.configureSharedInstanceWithAppId("************")//replaced appid with **** 

let permission = [PDKClientReadPublicPermissions] 


PDKClient.sharedInstance().authenticateWithPermissions(permission, fromViewController: self, withSuccess: { (pdk :PDKResponseObject!) -> Void in print("success PDKResponseObject: \(pdk)") 
}) { (err :NSError!) -> Void in 
    print("errori tuli: error NSError: \(err)") 
} 

ERROR :

-canOpenURL: failed for URL: "pinterestsdk.v1://oauth/?app_name=MyApp&permissions=read_public&client_id=4853625080298613350" - error: "(null)" 

내가 알아낼 수 없습니다 OU 내 고객 센터 사용자 이름/암호 및 OKAY를 눌러 입력 한 후, 응용 프로그램은 다음과 같은 오류 메시지가 발생합니다 뭘 잘못 했니? 모든 도움을 주셨습니다!

+0

이것을 파악할 수 있었습니까? 나는 네가있는 곳에서 바로 붙어있다. –

답변