Questions tagged [uianimation]

411 questions
-1
votes
2 answers

animateWithDuration iOS 7 duration doesn't work

i'm trying to animate a UIImageView to change UIImage during the animation, but the duration in the method doesn't work, the animation is done immediately, why? this is the code: - (IBAction)do_action:(id)sender { [UIView…
Piero
  • 9,173
  • 18
  • 90
  • 160
-1
votes
1 answer

UIViewController background collor below view

Here's my issue. I have a UIViewController with a custom view as it's view(controller.view = custom). I also add some more views to the controller as subviews of it's view. Now after this view appears, so in the viewDidApear I add an bounce…
Busu
  • 263
  • 3
  • 12
-1
votes
1 answer

UIButton Animation for IPhone

I am new to xcode, but I have been searching around for solution, and I have tried many different methods, but none of it is working. I am trying to make UIButton flip to the reverse side by adding animation to it. This will occur when program…
-2
votes
3 answers

Linking progress bar with time

I'm wanting to create a progress bar that's completed at the end of the day. Wanting to keep it as a really simple red bar that stretches out as the day goes by. Any ideas?
luker82
  • 31
  • 2
-2
votes
1 answer

Why is the completion handler in UIAnimation of type ((Bool) -> Void)? And what is the purpose of the bool?

For example UIView.animate(withDuration: 0.5, animations: { self.datePickerView.center.y = self.view.frame.height + (self.datePickerView.frame.height/2) self.datePickerOverlay.alpha = 0.0 }) { (true) in …
14wml
  • 4,048
  • 11
  • 49
  • 97
-4
votes
3 answers

How to animate a image up and down smoothly. iphone

I want to animate a image up and down smoothly. Any one has idea how to do it..
1 2 3
27
28