Questions tagged [slcomposeviewcontroller]

The SLComposeViewController is a class in the [Social-Framework] (new in iOS 6) that presents a view to the user to compose a post for supported social networking services.

The SLComposeViewController is a class in the (new in iOS 6) that presents a view to the user to compose a post for supported social networking services.

SLComposeViewController uses the isAvailableForServiceType: class to check if an account is available for the specified service type before the controller is presented.

Supported service types include:

  • SLServiceTypeFacebook
  • SLServiceTypeSinaWeibo
  • SLServiceTypeTwitter
196 questions
1
vote
0 answers

MFMessageComposeViewController , MFMailComposeViewController and SLComposeViewController keeps crashing

I got a lot of crash reports on my current app using the following code in my AppDelegate: - (void)prepareFrameworks { if([MFMessageComposeViewController canSendText]) (void)[[MFMessageComposeViewController alloc] init]; …
1
vote
1 answer

SLComposeViewController - SLServiceTypeTwitter, sound&video

When using SLComposeViewController/SLServiceTypeTwitter, is it possible to attach sound or video? With an object instanciated as follow: SLComposeViewController *tweetController = [SLComposeViewController…
Michel
  • 10,303
  • 17
  • 82
  • 179
1
vote
0 answers

Unable to share PDF URL on Facebook using SLComposeViewController

I have created sharing module for Titanium Appcelerator using social.framework. Following is my code: - (id) Facebook { //if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebook]) //{ NSLog(@"Sharing via Facebook", nil); …
1
vote
1 answer

How to add url for SLComposeViewController in iOS7?

In my app i'm using SLComposeViewController to send tweets. I'm also calling its method addURL: like this: [tweetSheet addURL:[NSURL URLWithString:@"http://itunes.com/apps/MyAppName"]]; and it works fine in iOS 6, but in iOS 7 it opens iTunesStore…
Andrey Chernukha
  • 21,488
  • 17
  • 97
  • 161
1
vote
0 answers

Suppressing Web Page Thumbnail in SLComposeViewController in iOS 7

We just discovered that in iOS 7, an SLComposeViewController instance (for example for Twitter) with a link and no image attached will try fetch a thumbnail preview of the web page that the URL points to. In our case at least, this is not…
1
vote
0 answers

Am I adding URL correctly to SLComposeViewController

-(void) vPostStuffs:(UIViewController *) parent withImage:(UIImage *) image andText:(NSString *) text andURL: (NSString *) URL { // Create a compose view controller for the service type Twitter SLComposeViewController *mulitpartPost =…
user4951
  • 32,206
  • 53
  • 172
  • 282
1
vote
1 answer

Is it possible to addimage to SLComposeViewController from url asynchronously?

I'm working on an app wich lists some music tracks from iTunes and I'm using SLComposeViewController to share the track Twitter with the album artwork in the tweet. It's working right now but when I click the share button it takes too much time to…
1
vote
1 answer

Facebook posts via some app in iPhone

I am using SLComposeViewController framework to create Facebook connectivity through iPhone app, to post feeds from my app to Facebook. However, i want to use a particular account for e.g. myCompanyName account to post on Facebook. It will be like…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
1
vote
1 answer

implement SLComposeViewController into Cocos2d

i can't seem to get the SLComposeViewController to come from a button on a cocos2D layer. If you could see anything that would stop this working please tell. Any help would be appreciated: N.B. viewController is a…
user2318726
  • 33
  • 1
  • 4
1
vote
2 answers

how to check whether user entered his facebook details in iphone setting before composing SLComposeViewController in ios 6

i want to show a alert message before composing SLComposeViewController in my App , how to check whether user entered his facebook details in iphone setting before composing SLComposeViewController in ios 6 .
Shaik Riyaz
  • 11,204
  • 7
  • 53
  • 70
1
vote
1 answer

stuck with Social frameworks on ios device

I cannot get social frameworks to function correctly on my ios device, however it functions perfectly in the iOS simulator but not on my iPad, can anyone advise on where I may have gone wrong. Thanks in advance. - (IBAction)sharefb:(id)sender { if…
astric mobiles
  • 468
  • 3
  • 14
1
vote
4 answers

Prevent users from modifying part of the text in SLComposeViewController

Right now, our code is set to grab the text from the UITextField as setInitialText for Facebook/Twitter posts. What we want to do is: add an additional permanent message or URL to the Facebook/Twitter posts. How can we do this? Here's our current…
1
vote
1 answer

How to disable completion sounds from SLComposeViewController (Facebook, Twitter, ...)?

Does anyone know how to disable the completion sounds of the SLComposeViewController in iOS? The sound is played after the user posted a message to e.g. Facebook or Twitter.
Obiwahn
  • 2,677
  • 2
  • 26
  • 36
1
vote
1 answer

SLComposeViewController Facebook posts as iOS instead of Facebook Application Identifier

I'm currently working on a prototype for adding Facebook social features for future iOS games. One of the features I've been working on involves using the new native Facebook Composer to post to a link to the game, and then tracking the post and…
1
vote
2 answers

Facebook Integration With iOS6

I am using the following code to post something on Facebook. - (IBAction)post:(id)sender { if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebook]) { mySocialComposer = [[SLComposeViewController alloc]init]; …
Usman
  • 61
  • 2
  • 8