Thursday, 17 January 2013

To go back to the root controller when using navigation.


-(void)call
{
   
      [self.view removeFromSuperview];
}


Note: call above method from viewDidLoad method like    :   [self call];