self.title = @"My View";
Doesn't work when my view is presented modally.
You must write following code for presenting modalView Controller..
yourModelController =[[Yourmodelcontroller alloc]init];
UINavigationController *controller = [[UINavigationController alloc] initWithRootViewController: yourModelController];
[[self navigationController] presentModalViewController:controller animated:YES];
[controller release];
Then in the viewDidLoad
-method you need to write:
self.title =@"My View";