Log in using facebook in the unrecognized ios6 selector sent to the instance "

I get the following error when I work with facebook Login

Yes, this is the main error, "unrecognized selector sent to instance." But I did not understand where the error is

[UIStatusBar orientation]: unrecognized selector sent to instance 0xa9a9c00 2012-11-23 11:15:46.854 Tattoo Later[1265:1cd03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIStatusBar orientation]: unrecognized selector sent to instance 0xa9a9c00' 

In this method

 - (void)loginToFacebook:(id) loginDelegate { fbServiceRequestingobj = loginDelegate; NSArray* permissions = [[NSArray alloc] initWithObjects: @"publish_stream",@"user_birthday",@"read_stream",@"user_about_me",@"offline_access",@"email",@"read_mailbox",@"user_about_me",nil]; [facebook authorize:permissions delegate:self]; } 

Application Failure on this line [facebook authorize:permissions delegate:self];

In my project, I integrated "GPUImage". I am working on ios6

Thanks in advance

+6
source share
2 answers

In ios6 there is no method called [facebook authorize: delegate:] ... its just [Facebook authorize:]

+1
source

This is not related to Facebook. This is due to the UIStatusBar and its orientation method .

Please provide your source related to this issue.

0
source

All Articles