How switch UIViewController by flip from 3 controllers ?
Posted
by Sergey
on Stack Overflow
See other posts from Stack Overflow
or by Sergey
Published on 2010-04-23T21:02:16Z
Indexed on
2010/04/23
21:03 UTC
Read the original article
Hit count: 384
Hello, all.
I've got next problem: i've got 3 UIViewController and need to switch controllers by UIModalTransitionStyleFlipHorizontal.
Next code working fine:
testController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:testController animated:YES];
where testController - next controller to switch, self - current controller.
And when i've set 3rd controller - it's working fine, but i have problem with back to first controller - when i back to first controller - i can't go to second controller.
1 -> 2 -> 3 -> 1 - it's working fine, but -> 2 - don't show.
what's mistake ?
© Stack Overflow or respective owner