Open licl19 opened 5 years ago
I don't know why callback TWTRComposerResultCancelled always when I share with tweet.
TWTRComposer *composer = [[TWTRComposer alloc] init]; [composer setText:@"tweet share test"]; // [composer setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:imageUrl]]]]; // [composer setURL:[NSURL URLWithString:shareContent]]; [composer showFromViewController:from completion:^(TWTRComposerResult result){ if(result == TWTRComposerResultCancelled) { }else{ } }];
any solution for this issue?
I don't know why callback TWTRComposerResultCancelled always when I share with tweet.
TWTRComposer *composer = [[TWTRComposer alloc] init]; [composer setText:@"tweet share test"]; // [composer setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:imageUrl]]]]; // [composer setURL:[NSURL URLWithString:shareContent]]; [composer showFromViewController:from completion:^(TWTRComposerResult result){ if(result == TWTRComposerResultCancelled) { }else{ } }];