Hello. The app I am working on consists of a few views that I present and dismiss from my appDelegate. I am using the same strategy to present and dismiss all the view:
-create an object for the viewController
-present the view
-call a function in the appDelegate to dismiss the view when I'm finished
However, I've just implemented a table view and this doesn't seem to be working the same. This is how it is presented and dismissed:
This is identical to how I have been accomplishing this previously. I know for a fact I am getting to the dismiss line but it doesn't seem to dismiss that view. Is there something different about table views?
Thanks!
-create an object for the viewController
-present the view
-call a function in the appDelegate to dismiss the view when I'm finished
However, I've just implemented a table view and this doesn't seem to be working the same. This is how it is presented and dismissed:
Code:
-(void)showProjects
{
ProjectIndex *pController=[[[ProjectIndex alloc]init]autorelease];
[viewController presentModalViewController:pController animated:NO];
}
-(void)dismissProjects
{
[viewController dismissModalViewControllerAnimated:YES];
}
This is identical to how I have been accomplishing this previously. I know for a fact I am getting to the dismiss line but it doesn't seem to dismiss that view. Is there something different about table views?
Thanks!