I’m trying to use the AFOpenFlowView in landscape mode, but I get a black stripe as if the frame was set not go over the status bar or, better, not over the frame where the status bar is in portrait mode.
Here’s the code I’m using:
CGRect applicationFrame = [[UIScreen mainScreen] bounds];
AFOpenFlowView *af = [[AFOpenFlowView alloc] initWithFrame:CGRectMake(0, 0, applicationFrame.size.height, applicationFrame.size.width)];
[af setBackgroundColor:[UIColor whiteColor]];
NSString *imageName;
for (int i = 0; i < 9; i++) {
imageName = [[NSString alloc] initWithFormat:@"picture_%d.png", i];
[af setImage:[UIImage imageNamed:imageName] forIndex:i];
[imageName release];
}
[af setNumberOfImages:9];
[af setViewDelegate:self];
[self setView:af];
[af release];
Here’s an image to show what happens:

I’m extremely sorry for taking your time. At the end I found out what the solution was: I was initializing the window with the application frame, i.e.
instead of using the right code