I’m using [self presentModalViewController:head animated:NO]; in ios 4.3 and looking for an alternative for ios 5 and up. I’d prefer using something universal for all iOS versions but if (iOS is lower than 6) can also be great.
My problem is that using [self presentViewController:head animated:YES completion:nil]; as an alternative would work only if animated is set to YES. Any idea why? I don’t want it to animate. Is there anything else I can use if I’m not using StoryBoards ?
I’m using [self presentModalViewController:head animated:NO]; in ios 4.3 and looking for an alternative for
Share
Does the app fail at all? Have you got NSZombies enabled?
If you are doing something like this
This is because the view hasn’t initiated yet please use one of the following methods
I understand that this might not answer your question but you did not post what initiator it is in. But this is a common error so thought I would post incase it solves your problem.