Skip to content

SunlineTinyiOS/TPSharePlatform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPSharePlatform

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

TPSharePlatform is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TPSharePlatform"

Usage

    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();

Author

bygd2014@sina.com, bygd2014@sina.com

License

TPSharePlatform is available under the MIT license. See the LICENSE file for more info.

Releases

No releases published

Packages

No packages published