I can use
MyFirstAppDelegate *delegate = (MyFirstAppDelegate *)[[UIApplication sharedApplication] delegate];
[delegate.navigationController popViewControllerAnimated:YES];
or
[self.navigationController popViewControllerAnimated:YES]
So what is the difference between both?
Please answer me...
Thanks in advance.
source
share