Solve the problem that iOS apps cannot pass review by integrating functions such as sharing to QQ space, WeChat friends, and circle of friends. iosapp

Source: Internet
Author: User

Solve the problem that iOS apps cannot pass review by integrating functions such as sharing to QQ space, friends, and circle of friends. iosapp

Recently, When I submitted an application to the App Store, the application was rejected because the App integrated QQ login, shared to the QQ space, and other functions, and it was very depressing. I think of a way, this problem can be solved.


When you want to display the sharing platform list, you can dynamically adjust the list based on whether an App is installed on the current device. The specific operations are as follows:

First import the relevant header file


# Import <TencentOpenAPI/TencentApiInterface. h>
# Import "WXApi. h"


    NSMutableArray *platforms = [[NSMutableArray alloc] initWithObjects:UMShareToQQ,UMShareToSina, nil];        if ([TencentApiInterface isTencentAppInstall:kIphoneQQ && [TencentApiInterface isTencentAppSupportTencentApi:kIphoneQQ]]) {        [platforms addObject:UMShareToQzone];    }        if (![platforms containsObject:UMShareToQzone] && [TencentApiInterface isTencentAppInstall:kIphoneQZONE] && [TencentApiInterface isTencentAppSupportTencentApi:kIphoneQZONE]) {        [platforms addObject:UMShareToQzone];    }        if ([WXApi isWXAppInstalled] && [WXApi isWXAppSupportApi]) {        [platforms addObjectsFromArray:@[UMShareToWechatSession, UMShareToWechatTimeline]];    }

Solution complete!



How can I share my QQ space logs to my moments?

1. Copy the QQ space log link on your computer;
2. Write a QQ email to yourself with the copied log link;
3. Open the QQ mail prompt, receive the email prompt, and open the log link with the copied content;
4. Click open connection, browse the log page, and click share symbol in the upper right corner to share it with your friends.
(Unsuccessful !? Why is there no share key in the upper right corner? What should I do? Don't worry. We will use another method. Please continue to look at it );

5. Return to the email page and copy the log link.
6. Find a friend and send this link to him.
7. Click the link for development to a friend.
8. low oil. The sharing symbol in the upper right corner is displayed ~ Please share your beautiful logs :)
I tried it just now. Okay, haha. Have a good life.

The access permission to the QQ space has been changed to that of the people. Why can't the Friends in the circle be opened when they are shared in the circle of friends?

First, let's take a look at whether the settings are successfully saved. In the first step, let your friends refresh them.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.