2

I've integrated Fabric Framework in my project, now i want to compose my image by using Twitter App installed from App Store, but twitter use SLComposeViewController UI of iOS, so i don't know what is different between using SLComposeViewController and Twitter SDK ?. When i use Facebook SDK, sharing will use facebook app, with Twitter it not.

I use this code to compose Image.

TWTRComposer *composer = [[TWTRComposer alloc] init];

[composer setText:@"just setting up my Fabric"];
[composer setImage:[UIImage imageNamed:@"fabric"]];

[composer showWithCompletion:^(TWTRComposerResult result) {
    if (result == TWTRComposerResultCancelled) {
        NSLog(@"Tweet composition cancelled");
    }
    else {
        NSLog(@"Sending Tweet!");
    }
}];
  • could you please be more specific? is this a conceptual answer or about code? – Juan Boero Dec 23 '16 at 1:58

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.