Questions tagged [beginanimations]
14 questions
4
votes
1 answer
UIView animation change size of button
I started trying to recreate the buy button from the app store which requires a 2-stage click to buy something. I to animate the button expanding. So far I have this
[UIView beginAnimations:nil context:nil];
[UIView…

Josh
- 3,445
- 5
- 37
- 55
3
votes
2 answers
BeginAnimations and CommitAnimations with NavigationController.PushViewController
I'm trying to get a basic flip animation transition working when I push a controller inside a navigation. The code below flips the view, however the view appears first (each element fades in), and then the flip occurs. Is it possible to do a flip…

Chris S
- 64,770
- 52
- 221
- 239
1
vote
4 answers
Move a UIView with start point
I have this code below who move my UIView to left:
- (void)viewDidLoad {
[super viewDidLoad];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:4];
int xOriginal = 91;
CGRect rect =…

user3781174
- 245
- 5
- 16
1
vote
1 answer
UIView beginAnimations in one instance of a class fires beginAnimations in another instance of same class
Hope you can help or explain what's going on here, as I'm not great with UIGraphics contexts.
I have defined a class that automatically scrolls a label back and forth in it's frame when the label text is to long for the given space on the view…

Amisl
- 11
- 1
- 3
1
vote
2 answers
Changing text of UIButton titleLabel during alpha is 0.0f and avoid animation of text
Im fading my UIButton.titleLabel in/out a few times like this:
[UIView beginAnimations:@"fadeOutText" context:NULL];
[UIView setAnimationDuration:1.0];
button.titleLabel.alpha = 0.0f;
[UIView commitAnimations];
button.titleLabel.text =…

Joakim Serholt
- 403
- 5
- 17
1
vote
1 answer
UIView animation not going back to original state
I am trying to make UIView glow back and forth twice. My animation below works but just after it has finished it goes to the state that I animated it to, and not the original. I set autoreverses to YES so why is it not going back to original state…

pnizzle
- 6,243
- 4
- 52
- 81
1
vote
1 answer
How to use Default Splash Screen for Universal application?
I have a universal application. In this application I set a introduction image as a splash screen. For iPhone I need to set a different image as splash screen and for iPad different image. When I'm using the below code it works for iphone but not…

jamil
- 2,419
- 3
- 37
- 64
0
votes
1 answer
Please explain me about this leak
I have the following error message in my log:
2011-10-13 10:41:44.504 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4e0ef40 of class CABasicAnimation autoreleased with no pool in place - just leaking
2011-10-13 10:41:44.505…

mr.octobor
- 191
- 2
- 4
- 18
0
votes
1 answer
UIView beginanimations: subview shall not animate
Hi I have a UIView to which I add a UIButton in its initWithFrame: method like this:
UIButton * dropB = [UIButton buttonWithType:UIButtonTypeRoundedRect];
dropB.frame = CGRectMake(190, 22, 52, 22);
dropB.backgroundColor = [UIColor…

rano
- 5,616
- 4
- 40
- 66
0
votes
1 answer
Options inside begin animation and context
I was studying about begin animation with UIView, usually in most tutorials they always use the same syntax:
[UIView beginAnimations:nil context:NULL];
I see in the code that inside the beginAnimation we can put a nsstring, and in context a void…

user3781174
- 245
- 5
- 16
0
votes
0 answers
Get DoubleAnimation Reference Object from BeginAnimation
I want to add a simple double animation with code-behind to apply a fadein to n objects created at runtime:
foreach (var rect in howmanyrect) {
Rectangle bbox = new Rectangle {
Width = rect.Width,
Height = rect.Height,
…

LoxLox
- 977
- 9
- 16
0
votes
1 answer
Thing doesn't animate back
I want to animate and slowly dim the background when I bring up a picker. And then I want to slowly animate it back when I bring it down. For some reason it just works when I bring up the pickerView, not when a want to bring it down.
This code…

Tobbbe
- 528
- 2
- 7
- 16
0
votes
2 answers
status message corrupts main window in my iPhone app
In my iOS app when a button is pressed an event is initiated and at the bottom of the screen appears a status message informing the user about a successful or failed operation.
The status message appear and disappear with the following code.
this…

cateof
- 6,608
- 25
- 79
- 153
0
votes
2 answers
blinking in my wpf transition animation
I'm trying to achieve a custom transition animation with a shadereffect on an image.
I'm using a system i made for specifying easing Bézier functions graphicaly and i process all the spline data in a class called Spline.
i'm animating a time…

Julien
- 187
- 1
- 2
- 13