Questions tagged [uianimation]

411 questions
3
votes
1 answer

Is UILabel's backgroundColor not animatable?

I have a gridView, I use to display several GridViewCell : UIView. The GidViewCell adds an UILabel to itself and attaches anUITapGestureRecognizer to itself. UITapGestureRecognizer *gestureRecognizer = [[UITapGestureRecognizer alloc]…
vikingosegundo
  • 52,040
  • 14
  • 137
  • 178
3
votes
1 answer

Objective C: how to resize uitextview height with animation?

I have UITextView (textView) in some other view (extView) in my Objective C project with some text in it. The text in textView is quite long so it could by maximised and minimised. Of course, I'd like to do it with some animation. I change the…
user3742622
  • 1,037
  • 3
  • 22
  • 40
3
votes
5 answers

UIView.animateWithDuration stops after scrolling uitableviewcell

i have added a infinite animation in uiTableViewCell which just blinks a UILabel inside the table view cell. my problem is, when i scrolls the tableview it just stops the blinking my code is func tableView(tableView: UITableView,…
Parth Bhuva
  • 857
  • 6
  • 26
3
votes
1 answer

How can I animate my view resizing?

I am resizing my tables headerView. I want to animate it, but I am not sure how. -(void)layoutForBanner { // Depending on if the banner has been loaded, we adjust the content frame and banner location // to accomodate the ad being on or off…
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
3
votes
1 answer

Rotate image more than 180 degrees

I'm using CGAffineTransformMakeRotation to transform and rotate an arrow in a meter. Picture of arrow that animates inside gage The problem I am facing is that when I rotate more then 180 degrees the arrow rotates counter clockwise. My goal is to…
boomdrak
  • 442
  • 2
  • 8
  • 15
3
votes
0 answers

Swipe Animations in iOS

We need similar kind of functionality in iOS, can anyone help me the easiest path or any sample source codes. I have attached the image for reference.
Raj
  • 69
  • 6
3
votes
0 answers

navigationBar change titleView with animation

I would like to change the content of my titleView in the navigationBar to display different kinds of information, for instance a UIsegmentedControl or a UILabel. The change of the information should be a done with a transition (segmentedControl…
user2014551
  • 325
  • 5
  • 17
3
votes
3 answers

How to animate an UILabel from small to its original size?

Actually i am using RESlider in my app. In the menu table view there is a profile image and aside to it there is a notification label. Now i want is that when the user presses the hamburger menu the notification label(orange label with 999 number)…
User1075
  • 819
  • 15
  • 36
3
votes
1 answer

Custom Segue Flashes

I am using the following code to override the perform method in a custom segue to achieve sliding effect when moving between view controllers. - (void)perform { MasterController *sourceController = (MasterController *)self.sourceViewController; …
hasan
  • 23,815
  • 10
  • 63
  • 101
3
votes
2 answers

Stop animateWithDuration

I have a cycle animate in viewController - (void)moveAnimating { [UIView animateWithDuration:2.0f animations:^{ _backgroundView.center = CGPointMake(self.center.x , self.center.y - kMoveDistanceHeight); } completion:^(BOOL finished)…
xx11dragon
  • 166
  • 1
  • 10
3
votes
1 answer

UITableView Animation when entering Editmode

Maybe I´m just stupid but I cant understand why this isnt working. I want to achieve a little animation when I'm entering editing mode within a UITableView. [super setEditing:NO animated:YES]; [myTable setEditing:NO animated:YES]; [myTable…
f0rz
  • 1,495
  • 2
  • 14
  • 26
3
votes
4 answers

UIPageViewController: Fade In/Out Animation Between Viewcontrollers?

I followed the tutorial over @ http://www.appcoda.com/uipageviewcontroller-storyboard-tutorial/ to implement a UIPageViewController. I need to make the transition between view controllers to fade in/out when the user scrolls between them. An…
blee908
  • 12,165
  • 10
  • 34
  • 41
3
votes
1 answer

how to animate stuff in swift (xcode 6 beta)

i was wondering how do i animate things in apple's new language swift. in objective c i would use the following code to move an image from the top of the screen to the end : [UIView animateWithDuration:1 delay:0…
3
votes
1 answer

iOS Animation for balloon blown

How to create a balloon blown animation in iOS? I'm using this code: UIImage *image1 = [UIImage imageNamed:@"exp0.png"]; UIImage *image2 = [UIImage imageNamed:@"exp1.png"]; _ImageView.animationImages = [NSArray arrayWithObjects:image1, image2,…
3
votes
3 answers

UIView repeated animateWithDuration CPU 100%

Hi everyone, small question. I have an UIView class that I created, AnimatedUIView. In the init, I create a subview that I animate like this: - (void)animateView{ [UIView animateWithDuration:4.0 delay:1.0 …
Noé Malzieu
  • 2,530
  • 3
  • 22
  • 27