Questions tagged [ios-animations]

Animations provide fluid visual transitions between different states of your user interface.

Animations

Animations provide fluid visual transitions between different states of your user interface. In iOS, animations are used extensively to reposition views, change their size, remove them from view hierarchies, and hide them. You might use animations to convey feedback to the user or to implement interesting visual effects.

In iOS, creating sophisticated animations does not require you to write any drawing code. All of the animation techniques described in this chapter use the built-in support provided by Core Animation. All you have to do is trigger the animation and let Core Animation handle the rendering of individual frames. This makes creating sophisticated animations very easy with only a few lines of code.

Official Documentation

188 questions
0
votes
2 answers

Animate UIView with origin point is not working perfectly

I want to animate a view to a specified origin when ever someone touched it and then comeback to its original position whenever user touched it again. I am using AutoLayout in my storyboard to align my views. It first go upward with perfect position…
Syed Qamar Abbas
  • 3,637
  • 1
  • 28
  • 52
0
votes
1 answer

Segmentation fault when extending UIViewControllerAnimatedTransitioning

I'm trying to provide a generic implementation of UIViewControllerAnimatedTransitioning using Swift protocols, but whenever I have an object which conforms to the protocol, I get the error: Command failed due to signal: Segmentation fault:…
HighFlyingFantasy
  • 3,789
  • 2
  • 26
  • 38
0
votes
2 answers

iOS Animation Issues

Hopefully someone can help me out. Recently I have been having issues with the animations inside my view. I have been unable to find a solution to it but until now it has been fine as nothing major was going on inside the view, but now I have an…
Curtis Boylan
  • 827
  • 1
  • 7
  • 23
0
votes
1 answer

How to let some UILabel which in a UIView to use the same Animation?

-(POPSpringAnimation *)sizeAnimation:(NSValue*)toValue{ POPSpringAnimation *sizeAnimation = [POPSpringAnimation animationWithPropertyNamed:kPOPViewFrame]; sizeAnimation.toValue = toValue; sizeAnimation.springBounciness = 10.0f; …
罗月麒
  • 9
  • 1
0
votes
2 answers

Stop a UITableView from automatically scrolling

I have a UITableView that I'm autoscrolling with setContentOffset. Like so: CGFloat point = self.table.tblMinutes.contentSize.height - self.table.tblMinutes.bounds.size.height; [self.table.tblMinutes setContentOffset:CGPointMake(0, point)…
irosenb
  • 828
  • 2
  • 13
  • 26
0
votes
1 answer

Move button Right to left animation iOS - swift

I am creating an application with some buttons in a view controller. I want to add one animation like all the buttons are move from right to left. But all my buttons are moving from left to right. Here is my code. override func…
Amsheer
  • 7,046
  • 8
  • 47
  • 81
0
votes
1 answer

Program multiple animations for single UIImageView with image change

I need to animate a UIImageView inside my application, and cyclically change the UIImage inside it, making it look like an animated photo slideshow. Right now I'm using an NSTimer to fire every N seconds the UIImage change and the animation…
PeppeLaKappa
  • 139
  • 11
0
votes
2 answers

Animate View on Menu Button Tap using Swift 2

I got a Home Page in my App which has a Menu button(Hamburger) on the Right of the Screen. My Requirement is to Animate the Current View(Home Screen or Profile Screen or Settings Screen ) on Tapping the Menu Button. On Tapping The Menu Button which…
Joker
  • 830
  • 2
  • 14
  • 30
0
votes
1 answer

iOS unwanted delay when calling transitionWithView:

I'm getting a really long (about 6 seconds) delay between when I call transitionWithViewand when the animation actually starts on the screen. Is it because I am calling transitionWithView from a handler or something? -…
Chase Roberts
  • 9,082
  • 13
  • 73
  • 131
0
votes
1 answer

Swift - Animate dynamically created UIImageView

Initially I had this code working when I was just animating the one UIImageView that I had. But then I changed it to animate several dynamically created UIImageViews, however since they are dynamically created inside a for loop, I'm finding it…
Javz
  • 318
  • 1
  • 3
  • 13
0
votes
2 answers

UIImageView fade between animation

I need to animate between images in a UIImageView. So after research I came out with this class: import UIKit class GzImageView: UIImageView { var imageCollection:[UIImage]? //images to show var count:Int = 0 // images counter …
Sebastian
  • 6,154
  • 5
  • 33
  • 51
0
votes
0 answers

How to achieve pushViewController animation when using presentViewController

I need to use presentViewController in my app - [self presentViewController:thingContainer animated:YES completion:nil]; But I need the animation to be similar to that of pushViewController to the navigation controller. Any idea how to achieve…
0
votes
1 answer

how to give Page View Controller a "Cover Vertical" transition style

With a Navigation View Controller, I can give a "Cover Vertical" transition style animation. However, having trouble replicating that with a Page View Controller. The only options given in the story board are "Scroll" and "Page Curl". Is there a way…
haitham
  • 3,398
  • 6
  • 21
  • 35
0
votes
1 answer

Slide animation between UIButtons

I have been trying to set slide left & right animation between UIButtons which is located on the image below, a user can drags the right button to center button(right to left) and similarly drags the left button to center button(left to right).…
saksut
  • 673
  • 1
  • 7
  • 14
0
votes
1 answer

Opening and closing form animation

Is this animation possible in iOS, any third party API's for that?
Syed Ismail Ahamed
  • 349
  • 1
  • 6
  • 17
1 2 3
12
13