hi, i have one function in app delegate the function has code in appdelegate.m
OthersController *mm_OthersController = [[OthersController alloc] init];
[mm_OthersController toggle_OF: mm_OthersController];
[mm_OthersController release];
the toggle_OF function is in OthersController.m file which has been set in IB for tab bar item...
-(void)toggle_OF:(OthersController *)con
{
[con.toolbar removeFromSuperview];
}
the break point goes perfectly...but tool bar cannot be removed......this function is called perfectly if i call within the OthersController.m