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
ios swift wechat


source to share


No one has answered this question yet

See similar questions:

7
How can I authorize and login with WeChat using the iOS SDK?

or similar:

928
How do I call Objective-C code from Swift?
902
# pragma in Swift?
870
Swift Beta: Sorting Arrays
641
Split string into array in Swift?
7
How to add WeChat API to Swift project?
3
How to use WeChat url schemes in iOS SDK?
1
How to create a web app that runs on WeChat in app browsers?
1
How to use OAuth with WeChat login for Parse Server
0
WeChat SendAuth request to access token code only works once
0
What should be the security settings for transport in the app to support IOS login in iOS



All Articles
Loading...
X
Show
Funny
Dev
Pics