How do I move an image from the top of the screen to the bottom and have it stay there in Xcode / iOS? -
I am trying to create an entry effect for a logo from the top of the screen and there is a new one The scene is loaded in my application. I have seen all the tutorials that use NSTimer to push an image, but once my logo wants to go down below, it needs to be out. I read the animation block code. I'm going to They have to see that my solution is there or not.
Forgiveness I am a new and am very grateful for the help.
Set the logo frame up and then:
[UIView StartAnimations: @ "levelogo" reference: zero]; [UIView Set Delegate Animation: self]; [UIView Set Animation Duration: 1.0]; [UIView Set Animation Crow: UIViewAnimationCurveLinear]; LogoToMove.frame = CGRectMake (the last frame below); [UIView commitAnimations]; Logotype is your logo, give it outlet and hook it in Exhibit. Then you will set the final frame - in the initial frame and animation. Animation will do the rest. Change UIViewAnimationCurveLinear for the desired code if you do not like it. At the same time speed or slowing down the movement.
Comments
Post a Comment