IOS 6 Social Integration - Go to Settings

I am trying to integrate Facebook sharing in my application. I am using UIActivityViewController as follows:

 NSArray * activityItems = @[self.imgView.image, self.txtField.text]; UIActivityViewController * activityVC = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil]; [self presentViewController:activityVC animated:YES completion:nil]; 

So far, everything has been working fine. But I encountered such a problem - when I click the facebook icon and enter the facebook sharing screen, an alertView appears:

enter image description here

so the problem is that when I click the "Settings" button, my controller is simply fired and nothing happens. For twitter, everything works well - when the "Settings" button is clicked, my application goes into the background and the settings open. Why does this not work for Facebook? Any help would be assigned.

ADDED: Using SLComposeViewController leads to the same behavior - settings do not open

+12
objective-c iphone facebook
Sep 28 '12 at 10:21
source share
4 answers

This error seems to be fixed in the new version of iOS (6.0.1). At least, everything has been working fine for me since the last update.

+1
Nov 22 '12 at 11:22
source share

iOS 6.0.1 solve this problem. Update the software on the device that it will install.

+2
Nov 22 '12 at 10:28
source share

I have the same problem, you upgrade ios from 6 to 6.0.1 and first delete the check type **SLServiceTypeFacebook** in **SLComposeViewController** ., Thats everything works fine for me now.

+2
Nov 22 '12 at 10:31
source share

I just integrated the social infrastructure of facebook into my application and had the same problem on iOS 6.1, that is, when my facebook account is not set up, I will get this warning, but clicking "Settings" will simply reject the dialog and will not lead me to the settings page devices.

I found out that this looks like ONLY for a simulator, it works fine on a real device. I suggest you try.

0
Apr 07 '13 at 7:51
source share



All Articles