Reputation: 1268
I am getting the following error when i am working with facebook Login
Yes, It is a basic mistake "unrecognized selector sent to instance" But i did not get where the mistake 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];
}
App Crashes in this line [facebook authorize:permissions delegate:self];
In My project i intergrated "GPUImage" I am working on ios6
Thanks in advance
Upvotes: 6
Views: 386
Reputation: 818
In ios6 there is no method called [facebook authorise: delegate:] ...its just [Facebook authorise: ]
Upvotes: 1
Reputation: 81
It's not related to Facebook. It's related to UIStatusBar and his orientation method.
Please provide your source related to this issue.
Upvotes: 0