Questions tagged [uianimation]
411 questions
0
votes
1 answer
How to do a horizontal flip animation without setting views to nil?
I am doing the "standard" flip between a map and a list view inside a UIViewController with navbar on top, there is a button there that toggles between map showing and list.
I am performing the transition with this method:
[UIView…

bogen
- 9,954
- 9
- 50
- 89
0
votes
2 answers
View Controllers in view Controller and orientation iOS
I have iPAD app which has UIViewController A as root view Controller of Navigation Controller.
Now i have 3 more View Controllers B,C, D as subview of ViewController A.
I want B not to respond orientation while C and D should respond to it.…

Mann
- 5,477
- 6
- 45
- 57
0
votes
4 answers
iOS UIButton scale animation
i'm working on a UIButton animation where it moves along x-axis while it scales to its original size from the initial size. when i tried the code below it doesnt move to the point where it should go and doesn't scale up to its original size.
this is…

Jrey Quiros
- 233
- 1
- 3
- 10
0
votes
1 answer
Animating bars to rise as time increases
I have some code that shows the time in separate parts (hours, minutes, seconds).
- (void)viewDidLoad
{
[self updateTime];
[super viewDidLoad];
hourFormatter = [[NSDateFormatter alloc] init];
hourFormatter.dateFormat = @"HH";
…

user2397282
- 3,798
- 15
- 48
- 94
0
votes
1 answer
Detect collisions with UIAnimation
Im using this code to try to detect collisions between two images, one of which is in an animation, but it doesn't work.
[UIView animateWithDuration:5 animations:^{
bird.center = CGPointMake(bird.center.x, 600);
fallTimer = [NSTimer…

Sarabyte Studios
- 1,336
- 2
- 13
- 16
0
votes
1 answer
Moving UiTableView with animation
I have a UIViewController holding UITableView stretched on all it's area. On bar button click I'm trying to shrink and move and shrink the UITableView to make a space for UIView that is moving down from the top of the screen.
I attach thee project…

Jacek Kwiecień
- 12,397
- 20
- 85
- 157
0
votes
0 answers
NSTimer creating a pulse effect in AVAudioPlayer and UIAnimation
I've made a sound app with a UIVIew .png image (mouthMeter) whose alpha I would like to dim according to the averagePowerForChannel coming out of AVAudioPlayer. The alpha is being changed via updates from an NSTimer, meterTimer, 12 times a second…

Splosion Lowbeam
- 73
- 1
- 1
- 10
0
votes
1 answer
UIAnimation based on AVAudioPlayer's peakPowerForChannel
I would like to animate the alpha of an png image in a UIImageView based on the peakPowerForChannel of AVAudioPlayer. I haven't got any errors or crashes, but its not working. Here are (what I believe) the relevant parts of my ViewController…

Splosion Lowbeam
- 73
- 1
- 1
- 10
0
votes
3 answers
Make Image Wrap Around Screen Edge? - iPhone Obj-C
I couldn't figure out a quick, concise way to explain what I'm trying to accomplish (which has made it difficult to find an answer searching Google), so I'll just try to elaborate more here. What I am trying to accomplish is moving a UIImageView to…

iMinichrispy
- 134
- 2
- 14
0
votes
1 answer
UIImage animation not working for all Button
I have this simple function where i sap rate the button animation and then start animation for every button but i dont know why only one button animate not others which clicked, please help me with this
- (IBAction)startAnimation:(UIButton *)button…

Retro
- 3,985
- 2
- 17
- 41
0
votes
2 answers
UITableViewCell setEditing truncates label
I'm trying to animate the content of a custom UITableViewCell by moving a label to the right to create space for the red delete icon. The movement works fine but the whole text gets truncated, which it isn't supposed to, there is no reason to me why…

Linus
- 4,643
- 8
- 49
- 74
0
votes
3 answers
First time Image animation takes long time to animating
In my application there is animation of 260 images with dimension 640*1136 of .jpg file.I load all images in array as below.
On button click
- (void)singButtonClick:(id)sender
{
[self initSingArray];
[self startAnimationWithImages:singArray…

Harin
- 867
- 11
- 23
0
votes
3 answers
Custom UITableViewCell edit mode
Can't figure out how to do UITableViewCell with custom mode with animation like this
make swipe on cell so UIPickerView will appear, like delete
I'm thinking I need to do in my controller in this method:
- (void)setEditing:(BOOL)editing…

p.balmasov
- 357
- 1
- 16
0
votes
3 answers
List of Buttons lighting up at random
The method im trying to achieve is set a button to 0.5 alpha then back to 1 in the space of three seconds. After its executed 5 time on the four buttons the block of code is finished. Im struggling to find a way in which this can be achieved becasue…

alec
- 3
- 4
0
votes
2 answers
Issue with a scrolling fading UIView and its subviews. How should I be doing it?
I have a UIView with many subviews on a UIScrollView. As the UIScrollView slides to the left off the screen the alpha value of the UIView is reduced. It eventually is almost 0.0.
The issue is that once the alpha of the UIView is less than 1.0 I…

darbid
- 2,545
- 23
- 55