views:

20

answers:

0

i Created a tab based application. in my application i used three tabs with navigation and tableview and i created one right bar button on navigation bar. when touch the button, it displays the one view. to display the view i used the code

EASAppDelegate *delegate = [[UIApplication sharedApplication] delegate];

EventSearchViewController *eventSearchViewController=[[EventSearchViewController alloc] initWithNibName:@"EventSearchViewController" bundle:nil]; delegate.tabBarController.view.hidden=YES; [delegate.window addSubview:eventSearchViewController.view]; [delegate.window makeKeyAndVisible];

when i move from this view to tab based view that time viewWillAppear method is not called.