objective c - Am I adding URL correctly to SLComposeViewController -
-(void) vpoststuffs:(uiviewcontroller *) parent withimage:(uiimage *) image andtext:(nsstring *) text andurl: (nsstring *) url { // create compose view controller service type twitter slcomposeviewcontroller *mulitpartpost = [slcomposeviewcontroller composeviewcontrollerforservicetype:self.strslservicetype]; if (text) { [mulitpartpost setinitialtext:text]; } if (url) { [mulitpartpost addurl:[nsurl urlwithstring:url]]; } if (image) { [mulitpartpost addimage:image]; } [parent presentviewcontroller:mulitpartpost animated:yes completion:nil]; }
in android, facebook display screen shot of url instead of writing url in post. in ios application, facebook display url
what missing?
is related facebook slcomposeviewcontroller url shows in body if both url , image present
here thing. if not display image, if rid [mulitpartpost addimage:image]; url doesn't show anything.
in twitter, url , pictures not show up. though after pressing post shows on twitter.
in facebook, url screenshot never shows no matter though shows after posting.
in twitter, multiple twitter accounts have twitter post wrong account.
Comments
Post a Comment