Questions tagged [uimodaltransitionstyle]

The UIModalTransitionStlye is a enum created by Apple to set the transition style of the ViewController when "modally" presented.

The UIModalTransitionStlye is a enum created by Apple to set the transition style of the ViewController when modally presented.

46 questions
73
votes
6 answers

iOS7 UIModalTransitionStyleFlipHorizontal bounces after transition

I'm updating my app for iOS 7 and I discovered a weird problem. I'm presenting a UIViewController wrapped in a UINavigationController with UIModalTransitionStyleFlipHorizontal. In iOS 6 it works fine, but in iOS 7 the navigation bar bounces after…
10
votes
3 answers

UIModalPresentationCurrentContext with Transition?

I am trying to modal present a view controller like below: UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil]; UIViewController *vc = [storyboard…
9
votes
1 answer

What is difference between UIModalTransitionStyle and UIModalPresentationStyle?

For UIViewController, we have UIModalTransitionStyle and UIModalPresentationStyle Question is what is the difference of them ?
Forrest
  • 122,703
  • 20
  • 73
  • 107
6
votes
2 answers

UIModalTransitionStylePartialCurl causing UIButton text to animate

I've got a UIView that gets used in a modal view using the UIModalTransitionStylePartialCurl transition style when it appears. This UIView includes a UIButton. The odd thing is that whenever the view appears, as the primary page peels up to the top…
EFC
  • 1,890
  • 18
  • 39
5
votes
1 answer

UIModalTransitionStyleFlipHorizontal animation duration?

What is the default value of (NSTimeInterval)duration for UIModalTransitionStyleFlipHorizontal, which is related to -[UIViewController presentModalViewController:animated:]?
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
3
votes
1 answer

Is there any way to assign no UIModalTransitionStyle?

I know there are four types of UIModalTransitionStyles, but I would like not to use any of them. However, this code doesn't work: @IBAction func button(sender: AnyObject) { let modalView = ViewController() let storyboard =…
Cesare
  • 9,139
  • 16
  • 78
  • 130
3
votes
1 answer

UIViewControllerContext initalFrameForViewController & finalFrameForViewController show 0 for all values

I'm implementing my own custom UIViewController transition and when I output to the debugger the frame of the TO View Controller, I receive {{0, 0}, {0, 0}} for both initial and final frame. I thought that method on the context is supposed to show…
cohen72
  • 2,830
  • 29
  • 44
2
votes
1 answer

Is there a way to adjust a UIModalTransitionStyle speed/duration?

I want to use UIModalTransitionStyleFlipHorizontal, but just have it happen a bit quicker. Is this possible?
barfoon
  • 27,481
  • 26
  • 92
  • 138
2
votes
5 answers

How do you present a UIViewController from the top of the screen instead of the bottom?

I am using a UIViewController and I use presentModalViewController:controllerr animated:YES to present it but I would like if it would slide down from the top of the screen instead of up from the bottom, any way to do this?
Aspyn
  • 647
  • 1
  • 10
  • 25
2
votes
1 answer

Opening a new UIVIewController by first deactivating UIModalTransitionStylePartialCurl

I have three UIViewControllers: MainViewController, CurledViewController and SecondayViewController. On MainViewController I have one UIButton in the MainViewController that displays the CurledViewController through: curled = [[CurledViewController…
Mat Kelly
  • 2,327
  • 7
  • 29
  • 51
2
votes
2 answers

programatically create horizontal slide view controller transition in ios

I would like to use horizontal slide view controller transition without implementing navigation view controller. Under modalTransitionStyle property I only found the CoverVertical, CrossDisolve, ParticalCurl, FlipHorizontal and RawValue (which I…
potato
  • 4,479
  • 7
  • 42
  • 99
2
votes
1 answer

UIModalTransitionStylePartialCurl disappear on iOS 8

I am trying to present my ViewController with UIModalTransitionStylePartialCurl transition. I am using the following code PuzzleViewController *vc = [[PuzzleViewController alloc] init]; vc.modalTransitionStyle =…
sazz
  • 3,193
  • 3
  • 23
  • 33
2
votes
0 answers

Flip transition of UINavigationController

I have two different UINavigationControllers. Both are customized to present their own cool Navigationbar and have lots of ViewControllers with content. I figured, it would be good to override the UINavigationController. Now when I want to flip…
2
votes
1 answer

Status Bar Background during UIModalTransitionStyleFlipHorizontal

Attached are a few screenshots from my app in the midst of UIModalTransitionStyleFlipHorizontal I have changed the statusbarstyle to Black in info.plist and I have set the background color or MainWindow.xib to black. Yet, during the…
Sam J.
  • 685
  • 1
  • 8
  • 22
1
vote
2 answers

presentModalViewController from UIModalTransitionStylePartialCurl viewController

I have a modal view that is presented via UIModalTransitionStylePartialCurl transition. In that modal view there is a button, which I would like to: dismiss the current modal view (curl down), then present a new modal view (cover…
Keller
  • 17,051
  • 8
  • 55
  • 72
1
2 3 4