We use the following method and its performance.
Use the following code in the view in which you intend to use fbgraph.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { if (interfaceOrientation == UIInterfaceOrientationLandscapeLeft) { [self leftOrienation]; } else if (interfaceOrientation == UIInterfaceOrientationLandscapeRight) { [self rightOrientation]; NSLog(@"right"); } else { }
source share