In my previous project I used transitionFromView successfully, now I created new project today this time its ARC enabled, I copied the old code and pasted it but its not working. I put a breakpoint, executed it step by step but not working.
working code
quiz *quizObj = [[quiz alloc]init];
self.vc = quizObj;
[quizObj release];
[UIView transitionFromView:self.view toView:self.vc.view duration:1 options:UIViewAnimationOptionTransitionCurlUp completion:^(BOOL finished) {
}];
Not working code
EnterPhoneNumber *epnObj = [[EnterPhoneNumber alloc]init];
[UIView transitionFromView:self.view toView:epnObj.view duration:1 options:UIViewAnimationOptionTransitionCurlUp completion:^(BOOL finished) {
}];
project has no warnings or errors, but still this code is not working.
tries to put the method inside a performSelector