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

SLServiceTypeFacebook in SLComposeViewController hang my iphone app

I have implemented Facebook sharing in my app. But When composerview is opened and i tapped on post, after that it will block my app. I am not able to navigate to other view controller. Here is the code that i have used: SLComposeViewController…
Kirti Parghi
  • 1,142
  • 3
  • 14
  • 31
0
votes
1 answer

SLComposeViewController - read only

Problem I'm trying to provide my users with an alternative to purchasing my iAP by allowing them to share that they're playing the game via facebook. However, when the composer view controller loads the content is editable by the user. Which, for…
Daniel
  • 285
  • 3
  • 12
0
votes
0 answers

Objective C: Facebook access alert view not dismissed when we select ok to granted

when i navigate to profiles page in my app it displayed popup message for Granting access to Facebook from my app. its works fine for don't allow When i tap on ok it gets granted access but the alert view displayed again and again. How to avoid this…
iOS dev
  • 2,254
  • 6
  • 33
  • 56
0
votes
1 answer

SLComposeViewController auto rotation

I have a UIViewController which is always in landscape orientation. I present an instance of SLComposeViewController but to my surprise this results in autorotation of both my view controller to portrait mode along with my instance of…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
0
votes
0 answers

SLComposeViewController setinitial text using hyperlink

I want to set initial text of SLComposeViewController but couldn't find a way to include hyperlink in between the text e.g. [faceBookSheetSheet setInitialText:@"Shared via Wassay iOS app"]; I want that when posted "Wassay" should appear as a…
wassay khan
  • 133
  • 1
  • 8
0
votes
1 answer

Is there any way to detect if a user actually pressed the Twitter/Facebook post button in app?

I am trying to give "bonus points" for users who either tweet my advertisement message or post my advertisement message on Facebook. How can I detect if... 1) The user actually pressed the post button (this way I can give them the bonus points in…
0
votes
1 answer

SLComposeViewController. How to open device settings with adding Twitter or Facebook account

if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]) { // Device is able to send a Twitter message } How to handle option if device has not got Twitter or Facebook account to offer users open setting and add…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
0
votes
2 answers

Trying to dismiss View Controller that presents SLComposeViewController after user posts to FB in iOS

I am presenting an SLComposeViewController to post to Facebook in my app. The user is able to dismiss this View Controller in one of two ways: either by posting their post to Facebook, or by pressing "cancel". When the user presses "cancel", the…
syedfa
  • 2,801
  • 1
  • 41
  • 74
0
votes
1 answer

How to use SLComposeViewController for reply twitter post in iOS?

I am currently working on integrating twitter to my app,i try to do some research about reply twitter post.I know how to do it using SLRequest but its has no UI. So, I want to use SLComposeViewController ui for reply. Do you guys any suggestion?…
Siti
  • 130
  • 7
0
votes
1 answer

XCTests for SLComposeViewController

i was trying to write unit test cases using XCTest for SLComposeViewController and couldn't find any solution so far.Any suggestion in terms of approach and code would be helpful. My objective is to test the below code using…
Vinay Revankar
  • 823
  • 9
  • 19
0
votes
1 answer

Present View Controller After Completed Twitter Call

I am attempting to present a modal view after a twitter post is successfully completed; however, I cannot present my controller because the SLComposeViewController is still presenting. Is there some completion method that will call when everything…
0
votes
1 answer

Post Image to Facebook without using SLComposeviewcontroller when account accessed from Settings

I am just hanging with a problem to share image on Facebook without using SLComposeviewcontroller. I have added some account of Facebook in settings. While image sharing My app first searches the account if it is in settings then it fetches that…
iEinstein
  • 2,100
  • 1
  • 21
  • 32
0
votes
2 answers

Post animated gif on Twitter with SLComposeViewController

Twitter now supports posting animated gifs. see: https://twitter.com/Support/status/479307198901026816 However I've been trying to post an animated gif to twitter using the SLComposeViewController but the gif gets flattened to a single frame. NSData…
Ramin Afshar
  • 989
  • 2
  • 18
  • 34
0
votes
1 answer

Objective c How to retrieve Profile names of facebook and twitter from iPhone settings

I need to display the facebook and twitter profiles names in two labels These profiles name should be getting from settings page setup iif is there any facebook account setup in setting i have to get the user name and displaued it in my app Same…
iOS dev
  • 2,254
  • 6
  • 33
  • 56
0
votes
1 answer

Sharing my ios app details on facebook along with a facebook share

I am adding share functionalities on my facebook app.Like When a "saying" is selected there is a button for sharing that "saying" on facebook.And while clicking this button I can only see the shared saying on my facebook page,there isnt any…
Vork
  • 746
  • 2
  • 12
  • 34