Skip to content

Instantly share code, notes, and snippets.

@bcattle
Created July 10, 2015 22:38
Show Gist options
  • Save bcattle/b5f7fe33361bec0c7cba to your computer and use it in GitHub Desktop.
Save bcattle/b5f7fe33361bec0c7cba to your computer and use it in GitHub Desktop.
TWTRComposer *twitterComposer = [TWTRComposer new];
[twitterComposer setText:[NSString stringWithFormat:@"%@ #koowalla", self.taglineField.text]];
// TODO: this needs to be cropped to portrait
[twitterComposer setImage:self.videoThumbnail.image];
[twitterComposer setURL:[NSURL URLWithString:[videoUpload getShareURL]]];
if (twitterComposer != nil) {
[twitterComposer showFromViewController:self completion:^(TWTRComposerResult result){ // <- Attempt to present Exception here
// Main queue?
NSLog(@"");
}];
}
@bcattle
Copy link
Author

bcattle commented Jul 10, 2015

The error happens on line 7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment