WeChat user authorization does not happen in Swift

I am trying to login to my app using We \ chat on iOS (fast).
1. I added the following: [I followed all the steps in this link] [1]
[1]: How do I authorize and login using WeChat using the iOS SDK? 2. In AppDelegate.swift I added code like:if authResp.code != nil { let dict = ["response": authResp.code] nc.post(name: NSNotification.Name(rawValue: "WeChatAuthCodeResp"), object: nil, userInfo: dict) }

3. After this step: Wechat app asked for authorization, I allowed it, after which some link is downloaded to mobile browser: but it is not download, blank page shows 4. I have no response code in function, please provide me with solution for this or any manual to obtain an authorization code 5. As soon as the login button is pressed, it exchanges information with the chat-chat, and a link for obtaining an authorization code opens in the browser. The link will not be able to execute it in the browser. Please help me get the authorization code

+3


source to share





All Articles