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
0
votes
1 answer

Tweet a link from iOS app

I am creating a program in xCode that basically lets you post some something to your twitter. Everything works except that i am trying to figure a way to post a hypertext that will lead to say google. Forexample i want the words wwww.google.com to…
Sleep Paralysis
  • 449
  • 7
  • 22
0
votes
2 answers

Objective C - SLComposeViewController delayed presention

I've been doing a program which takes care of posting a picture or words (or both) to both facebook and twitter. But I want to do them both at the same time, so I wrote my code like this: //POST TO FACEBOOK if ([SLComposeViewController…
0
votes
1 answer

SLTwitterComposeViewController message sent to deallocated instance

I'm working on a cocos2d project on iOS6 and it crash time to time while I'm trying to share something on twitter. It only crashes on physical device (iOS 6.1.3) It runs without any problems on simulator (iOS 6.1) The problem arises when…
Firula
  • 1,251
  • 10
  • 29
0
votes
2 answers

change "shared via iOS" to "shared via

I am using a SLComposeViewController to post to facebook. However all of these posts have a "shared via iOS" tag instead of "shared via my app name". Any idea how to fix this? The stack overflow post here states this can be done by contacting…
Jeff Ames
  • 1,555
  • 11
  • 27
0
votes
1 answer

iOS 6 SLComposeViewController for SLServiceTypeTwitter not able to cancel, edit or send

I have some very simple code I am running in iOS 6, everything is working for all my devices and simulator, but one of my users (iPhone 3GS, iOS 6.1.2) is having issues. When they call this code the SLComposeViewController shows the twitter dialog,…
Tim Walsh
  • 1,089
  • 11
  • 27
0
votes
1 answer

How to post to my Facebook wall without saving the image to a photo album

I'm using the following method to share an image and a url to the user's Facebook wall. The problem is that because I'm adding an image with the post it ends up being saved in a Facebook photo album. Perhaps this is the default behaviour, although I…
hanumanDev
  • 6,592
  • 11
  • 82
  • 146
0
votes
1 answer

Issue with SLComposeViewController ,when app permission is disabled

Am using SLComposeViewController for posting articles to facebook wall.When App permission is turned off for facebook in device settings, SLComposeViewController still Works by posting article to facebook wall.Is this a SDK issue? …
0
votes
1 answer

Unable to present View Controller (SLComposeViewController)

I'm trying to integrate Facebook on iOS6 for an iPad app and run into a problem: When the following code executes, the screen fades to dark (like when a modal controller appears) but then nothing happens. No Facebook sheet, nothing - Cannot even tap…
Nikos
  • 787
  • 1
  • 8
  • 19
0
votes
1 answer

iOS 6 native Facebook/Twitter login info

I want to add Facebook/Twitter posting in my app using SLComposeViewController in iOS6 and I just want to add a check if the user is already logged in to Facebook/Twitter on device. So my question is that is it even necessary to add this sort of a…
EvG9
  • 305
  • 3
  • 11
0
votes
1 answer

SLComposeViewController bind to app

If I use SLComposeViewController factory initializer method composeViewControllerForServiceType: and initialize it with Facebook service type, when posting to the Facebook wall, the post does not contain any info on the app it was used to post from…
Eugene
  • 10,006
  • 4
  • 37
  • 55
0
votes
0 answers

iPhone , SLComposeViewController xcode 4.5

I have written this code: self.accountStore = [[ACAccountStore alloc]init]; ACAccountType *FBaccountType= [self.accountStore accountTypeWithAccountTypeIdentifier: ACAccountTypeIdentifierFacebook]; NSString *key = @"987654"; //put your own key…
0
votes
1 answer

Closest iOS 5 compatible equivalent of SLComposeViewController?

In am using SLComposeViewController for posting on Facebook with iOS 6. In an effort to have a consistent user experience and save development time, are there any existing code snippets or libraries with similar behavior and feel to…
Kevin Borders
  • 2,933
  • 27
  • 32
-1
votes
1 answer

Customizing SLComposeSheetConfigurationItem

I want to customize SLComposeSheetConfigurationItem I am looking to change the font and color for its title and value There does not seem to be any documentation for this but several apps like Evernote have done that.
Kashif
  • 4,642
  • 7
  • 44
  • 97
-1
votes
1 answer

Swift - SLComposeViewController automatically dismissing itself

I am using SLComposeViewController for social sharing of photos.But i am getting this error in log SLComposeViewController automatically dismissing itself My code:- @IBAction func fbshare(_ sender:UIButton) { let vc =…
Yash R
  • 247
  • 2
  • 19
-1
votes
1 answer

Description is missing for Facebook sharing with URL in iOS

When i share an iTunes url on Facebook using SLComposerViewController, the post on Facebook is not showing the link description. Where as if i try some other URL's then i the post is showing the link description.
1 2 3
13
14