views:

60

answers:

2

Hi all,

In my application the modal navigationcontroller that I am presenting is going under the current navigationcontroller so I'm not able to view the new navigationbar as it's disappearing under the current one.

I'm presenting the modalview on self and not self.navigationcontroller because self.navigationcontroller doesn't present the modalviewcontroller.

Also how to push a view on this modal navigationcontroller?

I'm using following code in one of my viewControllers:

fullListTopCompanies *fullListTopCompaniesInstance = [[fullListTopCompanies alloc] initWithNibName:@"fullListTopCompanies" bundle:nil];

UINavigationController *navigationController = [[UINavigationController alloc]

                                                initWithRootViewController:fullListTopCompaniesInstance];

fullListTopCompaniesInstance.navigationController.navigationItem.title = @"F";
[self presentModalViewController:navigationController animated:YES];


[navigationController release];

[fullListTopCompaniesInstance release];

Can anybody please help?

Thanx in advance.

A: 

use animated with transition

according to me you have to change the animation style

i done it before but forgot the code i will post it when i get it

GhostRider
GhostRider, Thanx for your reply. But changing the transition style hasn't helped.
neha