I am creating a modal view which is opened using the following code
[[self navigationController] presentModalViewController:registrationController animated:NO];
And until recently the following code was used to hide it on a button press
[self dismissModalViewControllerAnimated:YES];
However for some reason that line is no longer removing the view and no errors are presented.
I have also tried
[self.view removeFromSuperView];
But that just leaves me with a completely white screen
Any suggestions on how I go about debugging this issue will be great as Im stumped