Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Swift Project integrates QQ Authorization Login

2025-08-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the Swift project how to integrate QQ authorization login, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

First of all, refer to the official website document: https://wiki.connect.qq.com/sdk%e4%b8%8b%e8%bd%bd

As the introduction of the QQ official website is very xxx, it is recommended to give priority to the integration of Wechat, Wechat documentation is very complete. This can avoid some pitfalls in QQ.

Let's start the integration with the current version 3.5.7 as an example

Note: Universal Links must be set, otherwise the callback may not be triggered

When integrating sdk, you need to pay attention to the official website, as follows:

1. Libstdc++.dylib may not be needed.

two。 Bridging and importing sdk will report an error: https://www.jianshu.com/p/d053e54a2542

3. Universal Links and handleOpen Url must be processed in SceneDelegate, otherwise the callback will not be triggered

If handleOpen is not processed here, login by scanning the code will not be triggered (please see Wechat QQ pay).

The bridge connector file contains:

# import Thank you for reading this article carefully. I hope the article "how to integrate QQ Authorization Login for Swift Project" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report