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
1
vote
0 answers

IOS Crosshatched image: Animate the lines being drawn

I am using the GPUImage2 library on IOS to create filters for my images. I filter my image with a crosshatch filter, and get something like this: I want to animate these black lines falling onto the page, one after the other (kind of like how…
James Dorfman
  • 1,740
  • 6
  • 18
  • 36
1
vote
0 answers

Using frames while labels were set up by constrains

I have some Labels in xib file, which were sett up by constrains. But I want to make some easy animations. Here is idea: set elements out of screen then user open aplication and then animate it back. So problem is: to make elements out of screen, I…
Ilya Chikmarev
  • 133
  • 1
  • 11
1
vote
1 answer

CAShapeLayer, animating path with Transactions

I wondering why when I try to animate the path property of a CAShapeLayerwith a basic animation it works but when I try to do it with transaction it doesn't. I've successfully animated other animatable properties using just transaction. Here is my…
MatterGoal
  • 16,038
  • 19
  • 109
  • 186
1
vote
1 answer

Page View Controller inside Container, wrong animation when layout if needed

i've created a view with an header and a container... inside the container there is a page view controller the header resize based on the container, throught an iboutlet constraint if there is a table view as page in the container then the header…
1
vote
2 answers

How to create slide animation in iOS objective c to slide a view over other like in amazon ios app

I am trying to create create an animation to slide a view over other and if reaches certain point, it should invoke an action. Look at the screen shots from amazon. amazon pic 1 amazon pic 2
Mithra Singam
  • 1,905
  • 20
  • 26
1
vote
0 answers

App intermittently freezing in transition (2 top level UIWindows)

My app freezes intermittently in transition. Upon managing to get it frozen while in debug mode, we paused it and took screenshots. Some notes: in frozen state, the CPU was still reacting to taps, so it is still responding in some way looking at…
meow
  • 27,476
  • 33
  • 116
  • 177
1
vote
0 answers

How To: Animation in Corona SDK

I want to create a game using Corona SDK and have done so before but without the use of any kind of animation. This time, as you might have guessed, I need to learn how to animate! What exactly am I looking for? What a mighty fine question! I need…
user6233050
1
vote
0 answers

Implementation of DCPathButton in google map Marker Tap action

I want to implement the animated bloom buttons and actions just like in DCPathButton for a google map marker tap action. can anybody help me? Sample image is given below. This is where i am gonna call the animation func mapView(mapView: GMSMapView,…
Ganesh Kumar
  • 1,631
  • 2
  • 21
  • 35
1
vote
1 answer

smoothly hide and show a button according to keyboard's availability

so i'm showing a button on top of my keyboard when keyboard is appearing and then hiding it when keyboard dismissed but the flow of animation is not smooth enough i want to it come up and down with keyboard (without blocking the UI) images: WHEN…
remy boys
  • 2,928
  • 5
  • 36
  • 65
1
vote
0 answers

Swipe up and down like control center in iOS 8

I want to swipe up and down main view of UIViewController like control center in iOS. I've view of VC2 that is visible half on VC1. Now when user swipe VC2's view using fingers it will swipe up and down like control center. I did swipe up and down…
Ekta Padaliya
  • 5,743
  • 3
  • 39
  • 51
1
vote
4 answers

How do you add Facebook shimmering to images and UIViews?

I'm trying out Facebook shimmering library and I was able to add shimmering to text label using this code. self.shimmeringView = FBShimmeringView(frame: CGRectMake(0, 0, 200, (self.navigationController?.navigationBar.bounds.height)!)) …
ndduong
  • 429
  • 9
  • 21
1
vote
2 answers

Hiding status bar while in UIViewControllerAnimatedTransitioning

I have implemented a interactive dismissal animation for a controller that is being presented full screen. The issue is that whenever I try to dismiss it status bar appears The full screen controller has its - (BOOL)prefersStatusBarHidden returning…
Mindaugas
  • 69
  • 1
  • 6
1
vote
1 answer

UIViewController Animation

I am new here and trying to build an iOS app and it has some designs related to UIViewController animation during scrolling and button tapping etc. Please take a look at the below diagram for more info. It would be very nice if someone can direct me…
onCompletion
  • 6,500
  • 4
  • 28
  • 37
1
vote
2 answers

UITableViewCell fill color with animation

Starting from the right end, I have to fill the color in UITableViewCell (or to say it better, change the background of UITableViewCell starting from right to left in a small duration). How may I achieve this ?
Nitish
  • 13,845
  • 28
  • 135
  • 263
1
vote
2 answers

How to move UIImageView while swiping in UIPageViewContoller

I would like to move red circle (as shown in following image) slowly (may be with animation) when user swipes the app intro (PageViewController). I also want to add some animations so I'm trying to use IFTTT/JazzHands framework. But it's difficult…