Skip to content
cescofry edited this page Jan 12, 2012 · 10 revisions

Welcome to FTShare Objective C library for iOS development. FTShare is constantly developed by FuerteInt.com. Please drop us an email at [email protected] to let us know you are using this component.

Implementation Instructions:

  • Import SystemConfiguration, CFNetwork, MobileCoreServices, MEssageUI frameworks to your library
  • Create an Instance of FTShare on your Application Delegate
  • Overwrite the method application:openURL:sourceApplication:annotation: on your Application Delegate
  • Use the Application delegate FTShare instance everywhere in your app by:
    • setUp the keys for each share components (use config.h)
    • Implement the delegates
    • use shareViaFacebook/Twitter/Mail with the specific FTShareDataObject or
    • use showActionSheetWithtitle:andOptions: implementing the Facebook/Twitter/MailShareData delegate
  • on the app-info.plist add the "URL types" (as on picture below). Forget to do so and your app will not respond effectively after the facebook login has completed
  • In order to give the ability to the user to edit the message to share use setHasControllerSupport:YES against the data object

URL types

Third Party references:

Clone this wiki locally