I am trying to present a UIViewController using the flip transition style - this is how I am doing it:
MainView and PuzzleView are both UIViewController and on the same form, and set to alClient. To begin with, the MainView.Visible := True and PuzzleView.Visible := False; USer presses a button to present PuzzleView as shown below:
However, the PuzzleView is is always presented without any transition presentation. But when the PuzzleView is dismissed, the MainView is presented with flip transition.
Can someone suggest if I am doing anything wrong here? And how to present with transition? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, the default transition UIModalTransitionStyleCoverVertical and UIModalTransitionStyleCrossDissolve work but not the UIModalTransitionStyleFlipHorizontal.
Last edit: Kaarigar 2013-08-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to present a UIViewController using the flip transition style - this is how I am doing it:
MainView and PuzzleView are both UIViewController and on the same form, and set to alClient. To begin with, the MainView.Visible := True and PuzzleView.Visible := False; USer presses a button to present PuzzleView as shown below:
PuzzlwView.Visible := True;
PuzzleView.FUIViewController.setModalTransitionStyle(UIModalTransitionStyleFlipHorizontal);
MainView.FUIViewController.presentModalViewController(PuzzleView.FUIViewController, True);
However, the PuzzleView is is always presented without any transition presentation. But when the PuzzleView is dismissed, the MainView is presented with flip transition.
Can someone suggest if I am doing anything wrong here? And how to present with transition? Thanks!
Well, the default transition UIModalTransitionStyleCoverVertical and UIModalTransitionStyleCrossDissolve work but not the UIModalTransitionStyleFlipHorizontal.
Last edit: Kaarigar 2013-08-24