Specifies a transition to apply to a `UIView` in an animation block.
Questions tagged [uiviewanimationtransition]
407 questions
11
votes
3 answers
Centering Modal View with Autolayout
I'm presenting a UIViewController using presentViewController and a custom modalPresentationStyle, in an effort to implement a Facebook POP animated transition.
The modal view itself is completely dynamic, defined using Autolayout constraints in…

emma ray
- 13,336
- 1
- 24
- 50
10
votes
0 answers
Use Auto-Layout with UIPresentationController
I'm subclassing UIPresentationController to create a custom presentation/transition of a pop up UIViewController. The popup view itself should be constrained in the frame of the presenting view controller. I could do it with manual frame…

Alex Bollbach
- 4,370
- 9
- 32
- 80
10
votes
2 answers
Animating an `inputView` Keyboard Transition
UITextField has an inputView property that can be used to specify a custom keyboard. Clearing this to nil provides the default keyboard.
If the UITextField is the first responder, no change occurs on setting inputView, but by calling [textField…

Benjohn
- 13,228
- 9
- 65
- 127
10
votes
1 answer
How do I get the frame of a subview in the ToViewController during animateTransition:?
I an using the new custom transitions introduced with iOS 7 and I'm trying to move a view from my 'master' view controller to a view in my 'detail' view controller kind of like how Photos.app zooms in on a photo when you tap on it except this view…

Steve Moser
- 7,647
- 5
- 55
- 94
10
votes
1 answer
To Merge Images And Videos to One Video with Transition
In Objective -C
Anyone has an idea to merge images and videos to one video with Transition effect..?
1)Images to one video it is possible but How to add Transition effect in that ?
2) Multiple Videos to one Video possible but...Images and Videos to…

Developer
- 760
- 3
- 15
9
votes
5 answers
What would cause the iPhone home screen to be visible behind a modal flip transition?
On some occasions, not every time, when my app presents a modal view controller using presentModalViewController:animated: with modalTransitionStyle set to UIModalTransitionStyleFlipHorizontal the iPhone home screen is visible behind the animation.…

XJones
- 21,959
- 10
- 67
- 82
9
votes
4 answers
How to implement interactive cell swiping to trigger transitioning animation like WhatsApp
I'm looking for how to implement like WhatsApp cell swiping, I already have implemented the cell swiping animation using UIPanGestureRecognizer, the only left is performing the interactive animation -adding the new UIViewController to the window and…

Ennabah
- 2,303
- 2
- 20
- 39
9
votes
3 answers
animating UIView transitions like expand dot to circle
In my iPhone app i need to implement a different type of transition.
that was
next view open from the current view,
it stats like a dot, and the dot expands slowly like a circle with in the circle next view is to be displayed partially with in the…

user2732294
- 641
- 2
- 10
- 21
9
votes
3 answers
TransitionFromView removes previous view
I am having problems using TransitionfromView while transitioning between views in my app.
Setup
This is the basic setup of the View Controller. It has two views in it. A MKMapView and a UITableView. When the toggle button is pressed, it is supposed…

omgpython
- 241
- 1
- 4
- 15
8
votes
3 answers
transitionFromView:toView:duration:options:completion: is not animating the transition
I have a view controller that displays the views of 2 sub view controllers in a given area of its view. The 2 sub view controllers are FlopVC and FipVC.
I want to animate the transition from one sub view to the other. The code I'm using…

cfischer
- 24,452
- 37
- 131
- 214
8
votes
2 answers
UIView transitionWithView doesn't work
Here is viewDidLoad from the main view controller in the test project:
- (void)viewDidLoad
{
[super viewDidLoad];
UIView *containerView = [[UIView alloc] initWithFrame:CGRectMake(10, 10, 300, 300)];
[self.view addSubview:containerView];
UIView…

soleil
- 131
- 2
- 5
8
votes
1 answer
Swift - UIView.transitionFromView -
What happens to your “fromView” after you use UIView.transitionFromView? How do you get it back? (re-initialize it?).
Here’s a simple example I made and get “fatal error: unexpectedly found nil while unwrapping an Optional value” when I try to get…

Tommy Draughn
- 179
- 1
- 12
8
votes
0 answers
How do you create a UICollectionView Transition Animation in Swift without Storyboards?
I'm trying to achieve literally this effect shown on Facebook's photo collectionview:
Video: http://d.pr/v/YCDB
My goal is:
Animating to and from the indexpath of the cell
Pan up and down to fade the view out and dismiss it
Pretty much what's in…

Aubrey
- 629
- 1
- 7
- 17
8
votes
0 answers
Zooming child UIViewController to full screen
I have a parent view controller with embedded child view controller. When user taps the child, I would like to present its view in full screen mode with 'extending frame' animation. A similar UI paradigm is used for instance to zoom pictures in the…

Petr Mánek
- 1,046
- 1
- 9
- 24
8
votes
4 answers
transitionFromView: and strange behavior with flip.
I have a image wall (UIScrollView) and in there I have a lot of UIImageView's.
Here is my code:
for (ThumbPosterModel *tPoster in _thumbsPosterStack) {
UIImageView *imageView = [[UIImageView alloc] initWithImage:tPoster.thumb];
…

Jakub
- 13,712
- 17
- 82
- 139