Latest 1.2.0
Homepage https://github.com/iDay/WeixinActivity
License MIT
Platforms ios 6.0, requires ARC
Authors

ios6
ios7
ios8

Requirements

* iOS 6.0+
* ARC
* 而外添加:SystemConfiguration.framework,libz.dylib,libsqlite3.0.dylib,libc++.dylib

Installation

From CocoaPods

pod 'WeixinActivity'

From source

  • Drag the WeixinActivity/ folder to your project

Getting Started

UIActivityViewController *activityView = [[UIActivityViewController alloc] initWithActivityItems:@[@"这里是标题", [UIImage imageNamed:@"Oauth"], [NSURL URLWithString:@"http://www.google.com"]] applicationActivities:activity];
    activityView.excludedActivityTypes = @[UIActivityTypeAssignToContact, UIActivityTypeCopyToPasteboard, UIActivityTypePrint];
[self presentViewController:activityView animated:YES completion:nil];

微信开放平台文档看这里:

https://open.weixin.qq.com/cgi-bin/frame?t=resource/res_main_tmpl&lang=zh_CN

Latest podspec

{
    "name": "WeixinActivity",
    "version": "1.2.0",
    "summary": "An iOS 6 UIActivity subclass implementing uploads to Weixin(Wechat)",
    "homepage": "https://github.com/iDay/WeixinActivity",
    "license": "MIT",
    "authors": {
        "iDay": "[email protected]"
    },
    "screenshots": [
        "https://raw.github.com/iDay/WeixinActivity/master/ios6.png",
        "https://raw.github.com/iDay/WeixinActivity/master/ios7.png"
    ],
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/iDay/WeixinActivity.git",
        "tag": "1.2.0"
    },
    "source_files": "WeixinActivity",
    "resources": "WeixinActivity/Resources/*.png",
    "public_header_files": "WeixinActivity/**/*.h",
    "requires_arc": true,
    "subspecs": [
        {
            "name": "Weixin",
            "source_files": "WeixinActivity/Resources/*.h",
            "vendored_libraries": "WeixinActivity/Resources/libWeChatSDK.a"
        }
    ]
}

Pin It on Pinterest

Share This