Skip to content

Instantly share code, notes, and snippets.

@luispedrofonseca
Created June 18, 2014 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luispedrofonseca/86750f0dc4477d1823ad to your computer and use it in GitHub Desktop.
Save luispedrofonseca/86750f0dc4477d1823ad to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
void _handshake();
void _postToInstagram(const char *, const char *);
@interface InstagramShare : NSObject <UIDocumentInteractionControllerDelegate>
{
UIWindow *nativeWindow;
}
@property (nonatomic, retain) UIDocumentInteractionController *dic;
+(InstagramShare*)sharedInstance;
-(void)handshake;
-(void)postToInstagram:(NSString*)message WithImage:(NSString*)imagePath;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment