In the following code
- (IBAction)showAbout:(id)sender {
AboutView *a = [[AboutView alloc] initWithNibName:@"AboutView" bundle:nil];
[self setAboutView:a];
[UIView setAnimationDuration:.75];
[[self aboutView] setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
[self presentModalViewController:[self aboutView] animated:YES];
}
These 2 lines appear to be doing absolutely nothing.
[UIView setAnimationDuration:.75];
[[self aboutView] setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
In this example, am i using them wrong?
You can’t set duration of standard transitions.