tags:

views:

6

answers:

0

Version 1

FlowCoverViewController *c;
NSArray *array = [[NSBundle mainBundle] loadNibNamed:@"TestFC" owner:self options:nil];
c = [array objectAtIndex:0];
[self presentModalViewController:c animated:YES];

Version 2

[self presentModalViewController:[[NSBundle mainBundle] loadNibNamed:@"TestFC" owner:self options:nil] animated:YES];

Why does version 1 work but version 2 doesn't?