Questions tagged [uiviewanimation]

There is no default class called UIViewAnimation, this tag refers to methods that perform animation on UIView objects.

includes a number of different ways to perform animations. One of the simplest is to use the animation support in the UIView class.

Prior to iOS 4, the only way to do UIView animation was with beginAnimations:context/commitAnimations. Those methods are discouraged in iOS 4 and later.

For iOS versions greater than 4.0, you should use the new UIView class methods whose names start with animateWithDuration:

1798 questions
0
votes
1 answer

iOS: How to move an image inside a UIImageView

I have an UIImageView that's showing part of an image. Is there a way that I can animate the UIImageView so that the image in it moves? So I wish to have my UIImageView stay in it's position but the image in it move. Any way of doing it?
Tengyu Liu
  • 1,223
  • 2
  • 15
  • 36
0
votes
2 answers

How to Change label text color by letter by letter with time interval?

I tried below code: [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(myTimerMethod:) userInfo:nil repeats:NO]; -(void)myTimerMethod:(NSTimer*)timer { label.textColor = [UIColor colorWithRed:0.5 green:0.5 blue:0.22…
RameshIos
  • 301
  • 1
  • 4
  • 13
0
votes
1 answer

UIViewAnimation bounce after setting frame

i got a UIImageView which should slide from the top into the view and then when it stops it should make a bounce animation. I am animating the y.position change like this: [UIView animateWithDuration:1.3 …
dehlen
  • 7,325
  • 4
  • 43
  • 71
0
votes
0 answers

uiview animation delays starting

I'm trying to display a continuously scrolling 'movie credits'. The VC code is shown below. The problem is that there is a ~12 second delay before the animation starts. Once the animation starts, the delay is not repeated between calls. The same…
b1ueskyz
  • 13
  • 2
  • 7
0
votes
0 answers

moveRowAtIndexPath How do I know when it is complete?

I'm using moveRowAtIndexPath to move certain cells to other positions in my tableview. I want to add animation when it is completed. Is there a way to detect that the animation is complete? Is there a way to control the speed of the animation?
Code Monkey
  • 968
  • 1
  • 14
  • 26
0
votes
1 answer

Bar chart/UIView animation conundrum

I'm trying to make a simple bar chart showing the relative durations of sequentially recorded activities, and I can't for the life of me get it to display properly. It's based on simple UIView animations, and parts of it seem to work, namely the…
rattletrap99
  • 1,469
  • 2
  • 17
  • 36
0
votes
1 answer

Keyboard shows and will not dismiss

I have a view with multiple UITextfields, when I quickly tap and type within the UITextFields randomly, after a while I enter a state in which the keyboard is showing but will not dismiss. Pressing the bottom right "Dismiss Keyboard" button does not…
0
votes
0 answers

UIView update animations limit count

I got this error: too many update animations on one view - limit is 31 in flight at a time When executing [self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationNone]; Now I'm trying…
Oscar Yuandinata
  • 1,025
  • 1
  • 13
  • 31
0
votes
1 answer

UITapGestures in Middle of Animations

I'm am trying to delete an image while it is moving on the screen using UITapGestureRecognizers and UIViewAnimation. I have used the UIViewAnimationOptionAllowUserInteraction, but I still get the SIGBART error. I have been looking through the…
0
votes
3 answers

Animate UIImageView for Table View Cell

I am trying to animate a UIImageview in a "table view cell", but the image never shows. Here is the code I'm trying to use. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { …
raginggoat
  • 3,570
  • 10
  • 48
  • 108
0
votes
1 answer

Move UIViews inside another UIViewController

Have you used Tinder app? That app is full of nice effects that makes a great UX experience in my opinion. Try to open it and you see the launch image with a red flame at the center of the screen. Seconds after the flame moves itself to the…
Fred Collins
  • 5,004
  • 14
  • 62
  • 111
0
votes
0 answers

Detect when UIKit animation completes

I want to know how to detect when a UISearchBar has completed animating. In iOS7, when you tap on some searchbar, the magnifying glass will shift from center to left. When endEditing becomes true, the magnifying glass then shifts back to center. …
OneManBand
  • 528
  • 5
  • 24
0
votes
0 answers

Is there any Way to Present a ViewController from Top without using Custom Classes?

I want to present a TableViewController from top on a button Click.I am able to present it using Custom Classes.Is there anyway to Present it without using Custom Classes so that it wont crash in iOS Versions? popOverViewController =…
Wodjefer
  • 345
  • 2
  • 6
  • 19
0
votes
2 answers

UIViewAnimation from dispatch_after blocking UIViewAnimation Completion block

I have following scenario : dispatch_after_delta(0.1, ^{ [self checkForTodaysBonus]; // It contains animation methods. }); And -(void) checkForTodaysBonus { // Prepare View and other data and then animate UIView [Animations…
Devang
  • 11,258
  • 13
  • 62
  • 100
0
votes
1 answer

How to autorepeat a set of chained UIView animations using UIViewAnimationOptionRepeat

I am trying to chain a set of UIView animateWithDuration: using the flag UIViewAnimationOptionRepeat The animation steps I am trying to repeat are: Animate a UIView 100 pixels to the left Fade the UIView out (opacity '0') While faded out…
Avba
  • 14,822
  • 20
  • 92
  • 192
1 2 3
99
100