Use Friends League minutes to do sharing module.

Source: Internet
Author: User

Use Friends League minutes to do sharing module.
There are good things to share in the app. Afraid of hard? System comes with sharing afraid of trouble? OK Use Friends Alliance third party Library minutes write share code ~ ~ Simple Rude. First go to the Friend League website to get Appkey. Http://dev.umeng.com/social/ios/share/quick-integration poof and then the tutorials are all here. = = Pour into a third-party library. Add header File#import "UMSocial.h" write a sentence in the didfinishlauching of APPDELEGATE.M species[umsocialdata setappkey:@ "Your Appkey"]; and then into the viewcontroller.m inside. Use an event to trigger share =. = For example a small btn(Don't forgetVIEWCONTROLLER.M inside also to import header file ) -(void) Btndown{

[umsocialsnsservice presentsnsiconsheetview: Self

AppKey:@ "Just like your AppKey"

                           ,         &N BSP; : @ "share when you want to write. You can modify the "

                                    shareimage:[uiimage imagenamed:@ "Share time pictures, seemingly do not support dynamic images"]

                                sharetosnsnames:[nsarray arraywithobjects:umsharetosina ,umsharetotencent,umsharetorenren, (here is the destination to support sharing) nil

delegate:Nil];

}How is it not fried chicken simple/.    Haha, I'm going to be all right. Specifically, see the link in the article. The documentation inside that is quite detailed =. =!!!

Use Friends League minutes to do sharing module.

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.