Questions tagged [uianimation]

411 questions
142
votes
6 answers

Animate change of view controllers without using navigation controller stack, subviews or modal controllers?

NavigationControllers have ViewController stacks to manage, and limited animation transitions. Adding a view controller as a sub-view to an existing view controller requires passing events to the sub-view controller, which is a pain to manage,…
TigerCoding
  • 8,710
  • 10
  • 47
  • 72
33
votes
5 answers

iOS - Animation effects - Image pop-in

I'd like to have an image in my iphone app "pop-in" on screen rather than just appearing. By "pop-in" I mean that it would grow from a small dot to its actual size. For reference, this is exactly the same as the "pop" animation effect in…
Brian Boyle
  • 2,849
  • 5
  • 27
  • 35
23
votes
2 answers

UIView animations canceling any touch input?

I have a UIScrollView here where I'm adding displaying a label in the middle of the screen when the user has scrolled to a page, the problem is that while the animation is going the user can't scroll to the next page (all user interaction seem to be…
Christian A. Strømmen
  • 3,181
  • 2
  • 25
  • 46
21
votes
4 answers

iOS translation and scale animation

I'm working on UIButton animation where: The UIButton is set in the bottom center of the screen and scaled to a small size _menuBtn.transform = CGAffineTransformMakeScale(0.1f, 0.1f); When the app starts it should be moving to the bottom left side…
Jrey Quiros
  • 233
  • 1
  • 3
  • 10
20
votes
3 answers

cancel a UIView animateWithDuration before completion

I have this code in my project: - (void) fadeImageView { [UIView animateWithDuration:1.0f delay:0 options:UIViewAnimationCurveEaseInOut animations:^{ …
Sean Danzeiser
  • 9,141
  • 12
  • 52
  • 90
19
votes
2 answers

How to use the default iOS7 UIAnimation curve

iOS7 animations don't behave the same way as in iOS6. They appear to use a different bezier curve. Where iOS6 uses a kind of "easeInOutSine" curve, iOS7 is more of the "easeInOutExpo" kind. (http://matthewlein.com/ceaser/) Is there a way to use that…
Melvyn Hills
  • 248
  • 2
  • 6
15
votes
3 answers

How to move a view along a curved path in iOS

How to animate/move the view in the curve path, is it possible to do using UIAnimation. Like moving a view in the path as in the image.
Chandan Shetty SP
  • 5,087
  • 6
  • 42
  • 63
13
votes
0 answers

How to add animation on image change while create video using images

I have an array of images from which I want to create a video by playing these images one after the other in a sequence.I want to add a different types of animation when image get change. Suggest me some method or any solution to achieve this…
12
votes
1 answer

Animating UINavigationBar in iOS 7 (like Safari)

When scrolling content in Safari, the title bar animates to a smaller version of its self. What is the best way to implement this? Currently, I am changing the size of the frame like so: - (void)scrollViewDidScroll:(UIScrollView *)scrollView { …
Adam Carter
  • 4,741
  • 5
  • 42
  • 103
11
votes
2 answers

Nested closures does not like argument list

A UIView needs to change a warning label depending on the completion handler of a custom control: voucherInputView.completionHandler = {[weak self] (success: Bool) -> Void in self?.proceedButton.enabled = success …
Ilker Baltaci
  • 11,644
  • 6
  • 63
  • 79
11
votes
3 answers

iOS animations stop working in my app in iOS7

I am seeing that all ios animations in my app stop working.Its happening very frequently in iOS7. I had an app which is supporting iOS 5, 6 and 7. I am seeing recently that all iOS animations stop working in the app in iOS7?
user1010819
  • 2,691
  • 3
  • 15
  • 14
10
votes
1 answer

iOS animation flip book cover and ease up

I have a scroll view, and few buttons/images there. on clicking I would like such animation : (image opens like )book cover opens, and related view controller opens with ease in animation and gets full screen. Any thoughts ? Something similar…
Haris
  • 1,822
  • 2
  • 22
  • 44
9
votes
2 answers

Frames changing suddenly instead of animating [iOS]

I have a view with a scroll view in my app (a percentage calculator). I am trying to animate the view to fly out and then fly in again from the left albeit with different contents, on the press of a button. Here's my code: func next() { …
Swapnil Dhanwal
  • 399
  • 2
  • 6
  • 17
9
votes
0 answers

iOS: springWithDamping like animation for KeyFrame animation

I had the following custom transition using UIView.animateWithDuration(...usingSpringWithDamping:...) which worked perfectly. UIView.animateWithDuration(self.transitionDuration(transitionContext), delay: 0.0, usingSpringWithDamping: 0.8,…
Chris
  • 3,057
  • 5
  • 37
  • 63
9
votes
1 answer

AFNetworking - Fade animation on image while scrolling UITableView

I have a Table View which displays images using lazy loading from AFNetworking with a placeholder image. I'm trying to accomplish a way to fade from the placeholder to the image when it's loaded. My code here works, but if an image loads while…
Chompas
  • 553
  • 8
  • 19
1
2 3
27 28