To run the example project, clone the repo, and run pod install
from the Example directory first.
TPSharePlatform is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TPSharePlatform"
var sharePlatform = new TPSharePlatform();
sharePlatform.shareTitle = 'shareTitle';
sharePlatform.shareContent = 'shareContent';
sharePlatform.platformName = 'wxsession';
sharePlatform.success = function(data){
alert('分享成功');
}
sharePlatform.error =function(data){
alert(data);
}
sharePlatform.share();
bygd2014@sina.com, bygd2014@sina.com
TPSharePlatform is available under the MIT license. See the LICENSE file for more info.