views:

182

answers:

1
-(void)displayFirstScreen
{
    UIViewController *displayViewController=[[UIViewController alloc] init];
    displayViewController.view = displaySplash;
    [self presentModalViewController:displayViewController animated:NO];
    [self performSelector:@selector(removeScreen) withObject:nil afterDelay:2.0];

    [displayViewController release];
}
-(void)removeScreen
{
    [[self modalViewController] dismissModalViewControllerAnimated:YES];
}

The above code works but my orientation is landscape and the view comes and goes in portrait. Any ideas?

Thanks in advance!

A: 

I think this might address your problem

http://aralbalkan.com/2334

DougW