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

Keyboard event making toolbar items unclickable

In a view I want to make a textView and a toolbar go up when the keyboard appears but I am having some issues because after moving them up.The issue is that the buttons on the toolbar can not be pressed anymore I have to mention that I added these…
tudoricc
  • 709
  • 1
  • 12
  • 31
0
votes
3 answers

How to make an animation then pause then continue animation?

I want to create a custom alertView that works like instagram app (login/signin view when user enters wrong password or email). The alert animation should drop down and pause for the user to read for about 2 seconds, then the alertView goes up…
user3971760
0
votes
0 answers

Animation shows unwanted shadow

I'm animating an image to move up 50px, but as it moves, it leaves a shadow. How do I remove this shadow? I'd like the image to move smoothly. The shadow is only really present at the beginning of the animation. Method used: -…
kerbelda
  • 325
  • 1
  • 4
  • 14
0
votes
3 answers

Smooth table animation while replacing similar cells

I want to replace table cell with another cell having similar contents with animation. e.g. one cell has label central aligned and other bigger cell with some other contents has same label(with same text, font and color) in top left corner . Any…
Atul
  • 698
  • 4
  • 13
0
votes
1 answer

UIView Animation in SubClass

Anyone have any idea why this isn't working? UIView Subclass Code @implementation SendMessageTutorial @synthesize animatedDot; @synthesize titleLabel; @synthesize isDrawn; - (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; …
Mikerizzo
  • 587
  • 1
  • 4
  • 22
0
votes
1 answer

UIKitDynamics when working with Interface Builder

I want to add animations to some buttons using UIKitDynamics, however doing the very very basics with a UISnapBehaviour doesn't work at all. I am using IB to layout all of my subviews, so keep in mind that I cannot reposition anything by calling…
DBoyer
  • 3,062
  • 4
  • 22
  • 32
0
votes
1 answer

Capturing the screen and writing it to a file in iOS

I got an application that play a few UIView Animations with sounds (using AVAudioPlayer). Can someone please show how I can capture everything that is going on inside a view and save it as a video file on the device? i wasn't able to find a single…
Chiko
  • 606
  • 9
  • 21
0
votes
2 answers

Sliding UIView animations

I have a button and in the button action I want to show my UITableView by sliding from the button and after the cell click it should goest up by sliding effect.I did it by UIViewAnimation by setting the fixed y position and changing the height…
Jeff
  • 1,405
  • 3
  • 26
  • 46
0
votes
1 answer

UIAlert View and Animation

As we know Alert view is shown as modally. I am not sure if this is possible. I want to animation to start only when user press OK on Alert View AlertView code: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Search" message:@"Not…
Alok C
  • 2,787
  • 3
  • 25
  • 44
0
votes
0 answers

Getting snapshot of pushed view controller

today I decided to make my own animations instead of using UINavigationController's ones; so I've designed an animation (afterwards pseudocode), however I stumbled when I started to write the code. I've thought it will be good if I can make a class…
Buğra Ekuklu
  • 3,049
  • 2
  • 17
  • 28
0
votes
1 answer

Animation Delay

I am trying to set a delay for my animation, so once it appears and then disappears, I want to wait a certain amount of seconds for it to reappear. I have tried placing it in multiple spots throughout my code, but it was all the same result. -…
user3839056
  • 47
  • 1
  • 8
0
votes
1 answer

UILabel animating frame change disregarding delay

I have a UILabel that I show / hide. I want to show the label, pause for a few seconds and hide it. This code ISN'T working. It removes the view as soon as the animation finished (instantly) -(void) show { [UIView animateWithDuration:.5f…
fansonly
  • 1,150
  • 4
  • 14
  • 29
0
votes
2 answers

Apply CALayer changes to UIView

I have a UIView. I applied the animation to its CALayer. [view.layer addAnimation:groupAnimation forKey:name]; I want the final state of the layer to be the state of the UIView after the animation. Let's say I rotated by 45degrees and moved to a…
0
votes
1 answer

Progressively sliding a view

I currently have a menu that I slide in from the left. I have add UITapGestureRecognizer to the main view. Something like this: UISwipeGestureRecognizer *recognizer; recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self…
Joseph
  • 9,171
  • 8
  • 41
  • 67
0
votes
0 answers

Custom Container SlideIn SlideOut animation

I have a custom container which removes view controller and adds new viewcontroller on swipe animation , I have got this reference function from somewhere which does the same thing but in this function animation removes the current viewcontroller…
user1169079
  • 3,053
  • 5
  • 42
  • 71
1 2 3
99
100