Questions tagged [uianimation]
411 questions
6
votes
3 answers
How to switch views with animation - objective c
I have a viewController that has a tableView and a mapView, and only one is visible.
I also have a toolbar with segment control with two buttons (list and map)
How do I switch between the table view and the map view ? and it's important that the…

Eyal
- 10,777
- 18
- 78
- 130
5
votes
2 answers
Obj-c - Delayed animation when returning to original state?
I'm using the below code to shift a view and my tableview up when my keyboard is activated. When the keyboard is closed however, it takes the upView a solid 2 seconds after the keyboard closes to return to where it was (the tableView on the other…

Brittany
- 1,359
- 4
- 24
- 63
5
votes
1 answer
Animations not working in ios playground
This is my animation method (PreloaderView.swift)
public func performAction(action: PreloaderAction)
{
let highOpacity = CABasicAnimation.init(keyPath: "opacity")
let middleOpacity = CABasicAnimation.init(keyPath: "opacity")
let…

David Vardanyan
- 131
- 7
4
votes
2 answers
iOS - Stop a repeating UIAnimation?
I have an animation that needs to be repeated until I decided to stop it.
How can I stop in animation after a button click?
[UIView animateWithDuration:0.2 delay:0 options:(UIViewAnimationCurveLinear | UIViewAnimationOptionAutoreverse |…

aryaxt
- 76,198
- 92
- 293
- 442
4
votes
3 answers
how to to make gesturerecognizer working in an animating UIImage view
i have 5 animating image in a image view and will like to allow user to tap on them base on the default ID and push it to another view. i tried to add in gesture tap but the imageview are not detecting.
can anybody give me some advise ?
EDIT: end up…

Desmond
- 5,001
- 14
- 56
- 115
4
votes
4 answers
Simulating a Home Button Press - iPhone Testing
So I'm working on testing an iPhone app. I'm trying to setup test cases that we can use later using UIAutomation (I'm not really tied down to this - I can switch to some other framework). I basically need to create a test that goes something like:
+…

Ayush Sood
- 53
- 2
- 5
4
votes
3 answers
UICollectionView cell disappears when i animate(with my custom animation) scrollToItem function
I just trying to make a custom animation when i scroll to item programmatically. So when I do not compose my animation and using default by cell do not vanishing, but when i put scrolltoItem func inside UIView.animate func the last cell first…

Ninja
- 309
- 7
- 26
4
votes
3 answers
"Fill button" animation in iOS
Do you have any suggestion to implement the following button animation in an iOS app?

User1075
- 819
- 15
- 36
4
votes
0 answers
UIAnimation : Moving one view to another view in same viewcontroller by animation in ios7 through xib
Hi first of all i know its really a dumb question.I don't have any
experience in UIAnimation so I stucked on it from long time. I am
making a application in which a viewcontroller contains lot of views.
No matter if they are in tableview,…

AG.29
- 230
- 1
- 20
4
votes
1 answer
Determine which of its animationImages a UIImageView is displaying?
Is there a way to find out which frame of its animation a UIImage is on? When you start it you give it an array of animationImages, so it clearly has to be storing the index of the current image somewhere. Do you know how I can find this out? Also,…

Logan Shire
- 5,013
- 4
- 29
- 37
4
votes
1 answer
Changing UILabel text messes up animation?
My app has to do a calculation and animation based on a choice the user makes and I need to update a UILabel before it is used in the animation, the problem is whenever I set the UILabel text it messes up the animation and I have no idea why. I have…

Jon Sullivan
- 89
- 8
4
votes
3 answers
Show delete button on wobbling image and delete that particular image
I have added images in scroll view. On long press i have given wobble animation to all images.
i want to show delete button on the right top corner of every image as in iphone when we uninstall any application same like that.
- (void)startWobble…

Pallavi
- 249
- 2
- 10
4
votes
5 answers
Jumping effect on uibuttons
Here in my app i used the moving sub View.If it reach y=150,i want to make a buttons in jumping effect,i tried this link adding bounce effect to appearance of UIImageView it working in horizontal direction ,i want a vertical direction,Here my…

iosdev
- 277
- 8
- 19
3
votes
1 answer
Add page curl like layer (not animation)
I want to be clear that I do not need help with page curl animation.
I am trying to find the best way to add a "page curl" image effect to the bottom of one my views. Similar to the iPad maps app.
Here is an example:
Of course, once this area is…

random
- 8,568
- 12
- 50
- 85
3
votes
4 answers
how to create Login screen (as a UIAlertView) in iphone?
How to create LoginScreen in UIViewController ?
It should appear like UIAlertView after tapping a button.

Surjit Joshi
- 3,287
- 2
- 18
- 20