Questions tagged [uianimation]

411 questions
2
votes
2 answers

Animation not Shown When Calling it First Time

I have one simple animation: - (void)showMenu { [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.5]; [UIView setAnimationDelay:0.0]; [UIView setAnimationCurve:UIViewAnimationCurveEaseOut]; …
Mulgard
  • 9,877
  • 34
  • 129
  • 232
2
votes
1 answer

Unable to store Image on a UIIMageView after the animation

I've have a bunch of .png files that i am supposed to animate over a period of 1.05 seconds. After the animation executes, i would like to have the last .png file show up permanently. I am using an UIIMageview IBOutlet to hold the animation.…
2
votes
1 answer

UIAnimation causes XCode to crash after time

My app crashes in XCode after idling for about 5-7 minutes. I'm sure it's something to do with the animation used for the loading screen - I pasted the code below. I tried enabling Zombie Objects to see if it was a call to a released object, and…
Scott Fister
  • 1,213
  • 12
  • 24
2
votes
2 answers

Info lightbutton animation

I am having trouble in showing infobutton to navigate to information page/view. I have written this code. UIButton *infoButton = [UIButton buttonWithType:UIButtonTypeInfoLight]; UIBarButtonItem *infoButtonItem = [[UIBarButtonItem alloc]…
user1895515
2
votes
2 answers

How to create Jetpack Joyride jackpot lever animation

Just wondering if anybody knows how to recreate the touch lever action ? http://www.wired.com/geekdad/wp-content/uploads/2011/08/JJ-jackpot.jpg
Desmond
  • 5,001
  • 14
  • 56
  • 115
2
votes
1 answer

How do I make a view controller draw its view before it is animated?

I have a view controller whose job is to display a large image, initially sized to fit the screen, which the user can pan and zoom. The image was taken with phone's camera, then saved to the device and reloaded using +[UIImage imageWithData:]. I…
Simon
  • 25,468
  • 44
  • 152
  • 266
2
votes
1 answer

UITableView Shadow

i would like to ask you, if somebody know how to create a shadow at the end of table view as it is shown in the image bellow (click on the href :)). Best regards Martin App with shadow
2
votes
1 answer

Objective c animating UIbutton like dock effect on mac os x

I am working on app where I have some list of content shown with some buttons . I need a dock kind of animation when I touches the button , then clicking on the docked button event should be fired. when I touches another button this one should be…
ratnasomu
  • 174
  • 1
  • 1
  • 14
1
vote
1 answer

How to achieve flip animation and change my UIImage inside UITableView cell?

I have UITableView and cell's are customized and have a UIImage with UIbutton, UIlabel and another UIbutton. When user clicks the UIImage i want this image to flip and display another image here. The flip should be an animation excatly same as the…
Ashutosh
  • 5,614
  • 13
  • 52
  • 84
1
vote
2 answers

Animating change to uitableviewcell's background color

When a cell is selected from a table view, I'd like the cell's background color to change from white (or clear) to black and I'd like the change in color to be animated. Is this possible? I know certain tricks are necessary to change the background…
P. Wright
  • 133
  • 7
1
vote
2 answers

How do you animate a custom irregular odd shape UIButton with UIViewAnimationTransitionCurlUp?

I have an irregular shaped custom button and I would like for it to animate with the curl up effect. The problem is that Xcode places my irregular shaped button in a rectangle. The button is a .png and the transparency is preserved. On the simulator…
DanielRak
  • 239
  • 1
  • 2
  • 11
1
vote
1 answer

UITableView NSFetchedResultsController philosophy

I am displaying data from CoreData in a UITableView using NSFetchedResultsController as the container for the NSManagedObjects. The code for deleting a row works well, but my implementation strikes me as less than elegant. Is there a better…
1
vote
2 answers

How can i create a loading screen like the below image in iOS

How can i create a animated loading effect like the below image in iOS. Any one kindly give me an idea or point me any examples. Thanks in advance
neoJacob
  • 177
  • 1
  • 12
1
vote
1 answer

UIButton.frame while using UIView animation

I am using a UIView animation to move a button across the screen. While it is moving, I have an NSTimer running the method checkForCollision which looks like this: for(UIButton* b in squares) if(CGRectIntersectsRect(playerSquare.frame,…
eric.mitchell
  • 8,817
  • 12
  • 54
  • 92
1
vote
3 answers

Understanding of UIAnimation

I am trying to use following code to perform few animations -(void) performSlidingfromX:(int) xx fromY:(int) yy { UIImageView *Image= [self getImage]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration: 1.0]; [UIView…
nomi
  • 431
  • 1
  • 5
  • 12