Questions tagged [uiviewanimationtransition]

Specifies a transition to apply to a `UIView` in an animation block.

407 questions
32
votes
11 answers

UIView.animateWithDuration Not Animating Swift (again)

Note: I’ve already checked the following stack overflow issues: 27907570, 32229252, 26118141, 31604300 All I am trying to do is fade animate in a view (by alpha) when called by an IBAction attached to a button. Then reverse when a button on the view…
Dru Freeman
  • 1,766
  • 3
  • 19
  • 41
28
votes
2 answers

UIViewController – issue with custom dismiss transition

Summary I have a content UIViewController that presents a settings UIViewController using a custom transition. The presentation is with presentViewController:animated:completion:. When I later dismiss the settings with…
Benjohn
  • 13,228
  • 9
  • 65
  • 127
26
votes
6 answers

View being blocked by UITransitionView after being presented

I have a side navigation controller and present it via a UIButton. When I make this NC the root view controller directly by [self presentviewcontroller: NC animated: YES completion: nil], for some reason the menu side of the NC is blocked by a…
21
votes
6 answers

How to flip an individual UIView (without flipping the parent view)

This is an iPad project where I have a UIView with several subViews, and I am trying to animate one of this UIViews using [UIView transitionFromView:toView:duration:options:completion], but when I run this method the whole parent view gets…
DanMunoz
  • 936
  • 1
  • 8
  • 10
19
votes
5 answers

iPhone SDK 4 "Half curl page transition"

In Steve Jobs' keynote announcement of the iPhone SDK 4 earlier this year, one of the slides showed that a "Half curl page transition" was part of the new SDK. I've looked through the iOS API docs and I can't seem to find this transition. Does…
indragie
  • 18,002
  • 16
  • 95
  • 164
19
votes
2 answers

Container view disappearing on completeTransition:

I am using custom view controller transitions, UIViewControllerAnimatedTransitioning, to present and dismiss a view controller. The presenting animation works fine, but when I run the dismiss animation, once I call completeTransition: the…
18
votes
3 answers

show animation when addsubview

I want to add a subview with animation. I am using add sub view so it is not showing any animation so I want to show any animation when I am doing this... I am using below code :- UIViewController *vControllerHome = [[viewTemp alloc]…
17
votes
3 answers

dismissModalViewController with transition: left to right

I was using a nice method to dismiss my modal view controller: [self dismissModalViewControllerWithTransition:2]; which makes a slide transition from left to right, like a navigation controller does to pop a view. As this method is a non-public…
jcdmb
  • 3,016
  • 5
  • 38
  • 53
16
votes
2 answers

Add Slide In from Left to Right animation(transition) in addSubView

I Try to imitate the NavigationViewController, very similar to default MailApp in iPhone When clicking on a Mail summary, it should slide-in the mail details, and when BACK button is clicked, Mail Summary view is to be slided-in back again. This is…
Maheswaran Ravisankar
  • 17,652
  • 6
  • 47
  • 69
15
votes
3 answers

How to add image with parallax effect above UITableView header and keep header sticky?

Here is an image that explains everything I want to do: My question is, how would I make my view structure. The header of the table view should be fixed at top of the table. But what about the top most image that is above the table view header.…
15
votes
2 answers

How do I control the background color during the iPhone flip view animation transition?

I have some pretty standard flipping action going on: [UIView beginAnimations:@"swapScreens" context:nil]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES]; [UIView…
Rob S.
  • 426
  • 4
  • 16
15
votes
3 answers

Expand/collapse UITableViewCell to achieve Evernote-like transition

I'm interested in achieving a transition between view controllers very similar to the transition in Evernote's iOS app: When "Places" is tapped, it smoothly expands into what looks like UINavigationController with a green border around it. To…
14
votes
6 answers

Flip between two ViewControllers under the same NavigationController

I had referred to this question and several question about view / view controller transition but still couldn't find an satisfied answer. Most of the solutions suggest to flip the views instead of view controllers. However, the two view controllers…
13
votes
5 answers

iPhone Flip Animation using UIViewAnimationTransitionFlipFromLeft in landscape mode

I am working on one iPhone application in which I implemented one animation UIViewAnimationTransitionFlipFromLeft. Here my application works fine in the Portrait mode. It is doing the same animation as specified means Flip from Left to Right. But…
11
votes
3 answers

How to show/hide a UIView with animation in iOS?

The main UIView contains two subviews - UIView_1 and UIView_2. In the UIView_2, there is a button to show or hide the UIView_1. For example, when a user touches the button to show the UIView_1, then UIView_1 will slide down and UIView_2 will push…
user403015
  • 7,209
  • 19
  • 66
  • 100
1
2 3
27 28