Hi all,
i'm a new user in this forum and i'm trying to learn how to develop an iphone app Following my book there is an example to use a modal view but something is not working
Whitin my implementian class i wrote:
My app should set editingViewController.movie as self.movie and then a view should appear showing (maybe) all the movie values.
My code has ben compiled properly but when i press the button linked to the edit method nothing happens.
Watching the console i see:
and also my note "richiamato metodo edit" has been executed but i don't see the view.
Any idea about that?! Thanks in advance.
Ciao,
stè
i'm a new user in this forum and i'm trying to learn how to develop an iphone app Following my book there is an example to use a modal view but something is not working
Whitin my implementian class i wrote:
Code:
- (void)edit
{
self.editingViewController.movie = self.movie;
[self presentModalViewController:self.editingViewController animated:YES];
NSLog(@"richiamato metodo edit");
}
My app should set editingViewController.movie as self.movie and then a view should appear showing (maybe) all the movie values.
My code has ben compiled properly but when i press the button linked to the edit method nothing happens.
Watching the console i see:
Code:
[cut...]
Current language: auto; currently objective-c
2010-04-25 22:22:34.590 Movie[3801:20b] Application tried to present a nil modal view controller on target <MovieViewController: 0x3e21520>.
2010-04-25 22:22:34.591 Movie[3801:20b] richiamato metodo edit
and also my note "richiamato metodo edit" has been executed but i don't see the view.
Any idea about that?! Thanks in advance.
Ciao,
stè