Re: Invoke a method

2009-04-07 Thread Dave DeLong
Probably what you're doing is something like this: FormBController * b = [[FormBController alloc] init]; [[self navigationController] pushViewController:b animated:YES]; [b release]; What about making b an instance variable of the object, and then do: if (!b) { b = [[FormBController alloc] init

Re: Invoke a method

2009-04-07 Thread Alexander Spohr
Try viewWillAppear / viewDidAppear. atze Am 07.04.2009 um 13:06 schrieb developers mac: I have two forms (.xib file). From form A, i used to navigate to form B. After selecting a value from form B, I will return back to form A. For that I used, [self.navigationController popViewCon

Re: Invoke a method

2009-04-07 Thread developers mac
I have two forms (.xib file). From form A, i used to navigate to form B. After selecting a value from form B, I will return back to form A. For that I used, [self.navigationController popViewControllerAnimated:YES]; to move back to form A. Then the problem occurred. When doing this, I am carrying

Re: Invoke a method

2009-04-07 Thread Mark Ritchie
On 7-Apr-09, at 3:14 AM, developers mac wrote: What am I doing wrong? Kindly some one help me out please! I think that you might get better answers if you explained what you're trying to do. It's very difficult to understand what you're doing from your message. Perhaps if you explained at a

Invoke a method

2009-04-07 Thread developers mac
Hi there, I have to invoke a method on the backbutton action. (ie., I am in form B, on clicking back I am moving to form A). All I have to do is to invoke a method to set the tableview values. I tried using action: but failed. In form B, I am using : [self.navigationController