Installation Instructions
1
Add "shareSDK" to your Podfile
Run
pod install
Clone the shareSDK library (git clone git://github.com/shareSDK/sharesdk-lib-ios.git)
Drag the sharesdk-lib-ios.xcodeproj into your project
Add sharesdk-lib to your "Target Dependencies"
Add sharesdk-lib.a to "Link Binary with Libraries"
Add the shareSDK library
Cocoapods
Manual Integration
2
Login and go to "apps analytics"
Select "click here to add an app"
Enter a name for your app and click "Save"
Select your app from the list
Copy the "external identifier" for your app
Setup an App in shareSDK (if you already have an App registered you may skip this step)
3
In your applicationDidFinishLaunching: withOptions: method add:
To shorten links SSActivityViewController's:
To track shares replace any
Add the shareSDK code to your app
[ShareSDK start: SHARE_SDK_EXTERNAL_IDENTIFIER]
;
shortenLinksIfNeeded: withCompletionHandler:
method
UIActivityViewController
with
SSActivityViewController
For more help take a look at the sharesdk-example target inside the sharesdk-lib-ios project or
contact us
with your questions.