Questions tagged [uianimation]
411 questions
0
votes
1 answer
Flip UitableviewCell one by one when tableview reloadData is called
I want to give flip animation to UITableViewCell when [tableView reloadData] is called so that it will give a cool animation effect in my app. In between flipping of these cells I will update text of labels.
Can UITableViewCell be flipped one by…

user1288005
- 890
- 2
- 16
- 36
0
votes
1 answer
UISearchDisplayController Activity Indicator
I'm using a UISearchDisplayController to display some search results in a table view. Every time the text field of the search bar changes, the activity indicator spinner next to "Loading..." resets its animation. That is, if I query "a" in the…
0
votes
3 answers
UIAnimation cause button titleLabel disappear during animation
I am committing this simple animation that cause a button to shrink to a width of 0:
[UIView animateWithDuration:0.2
delay: 0.0
options: UIViewAnimationOptionCurveEaseIn
animations:^{
…

Obaid Maroof
- 1,523
- 2
- 19
- 40
0
votes
1 answer
Issue in i carousel and my custom animation
i've created d app where app starts an image have to be animated and my buttons will be displayed in coverflow effect using icarousel..Here is my code
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view,…

Vishnu
- 2,243
- 2
- 21
- 44
0
votes
0 answers
Is there any way a UIAnimationBlock would skip over the completion part or stop in the middle?
I have an UIAnimation with duration, delay, options, animation and completion.
In the animation I'm just moving a view around by setting it's frame.
CGPoint newPoint;
newPoint = CGPointMake(x + offset, button.center.y);
And then in the completion…

TheBinaryhood
- 231
- 2
- 9
0
votes
1 answer
Animate view - Spin, shrink and move off screen
I have a custom UIView class that I want to spin, shrink and move off screen at a random angle all at the same time.
I have this code that will spin the layer a few times
- (void)spinLayer:(CALayer *)inLayer duration:(CFTimeInterval)inDuration…

Darren
- 10,182
- 20
- 95
- 162
0
votes
2 answers
add new button and replaces existing button and disappear with sleek animation
I want to add total 5 button at bottom of screen but only four will be visible at first time loading of nib.
and if user press first button it will be disappear with animation and second button will come at place of first . and now in screen one…

iosDev
- 604
- 3
- 12
- 28
0
votes
1 answer
Animating a view & its subview separately
I have a view interface which contains a subview touchWheel. On clicking a minimise button on interface I'd like to perform a transform & send the view to the bottom-right corner of my screen. The thing is that I want to "detach" the touchWheel view…

Octave1
- 525
- 4
- 19
0
votes
2 answers
setBound width and height
This method gets called after i resize a photo:
- (void)correctSize:(UIView*)view{
//check if the newWidth is rounded by 50
CGFloat correctWidth = roundf(_lastScale*_lastWidth/XPCollageGridHorizontalStepSize) *…

Oritm
- 2,113
- 2
- 25
- 40
-1
votes
2 answers
Fully Customize UIPIckerView?
Target: To give feel like casino scrollers.
Description: I want to make a scroller which will start automatically as i click any button... which scroll with maximum speed and slow down speed and stop after certain speed just like you must have seen…

Tariq
- 9,861
- 12
- 62
- 103
-1
votes
1 answer
Why doesn't my UIView animation work when I put it in a containerView in a different class?
I have done a simple animation on a UIView and it works the way I want to. But it stops working when I seperate the code. I have put the UIView that should be animated into a containerView and that containerView is connected to the animationCode…

Joakim Sjöstedt
- 824
- 2
- 9
- 18
-1
votes
1 answer
UIView Animationn in Swift
Can someone tell me what mistake I have done in following code?
func animateView(view: UIView){
view.transform = CGAffineTransform(scaleX: 1.0, y: 1.0)
UIView.animate(withDuration: 0.8, delay: 0, usingSpringWithDamping: 0.8,…

Muhammad Hasan Irshad
- 186
- 1
- 9
-1
votes
1 answer
How to I have a Repeat vs Continual Animation?
Scenario: I have a '>' button:
that is supposed to animate +90 degrees upon initial tap:
However after returning to the 0 degree '>' position via tapping on the UITableViewCell again which returns to its original height; then tapping AGAIN I…

Frederick C. Lee
- 9,019
- 17
- 64
- 105
-1
votes
1 answer
UITextFieldShouldChange being called twice
I want a MKMapView to blur if there is no entry in a text field by using UIVisualEffectsView over top of the map, i also want it to aniamte, Right now the shouldChangeCharactersInRange its getting called twice when someone starts typing and not at…

Eli
- 668
- 2
- 13
- 37
-1
votes
2 answers
Writing a new class with singleton
Hi I am creating a new class CNAnimations.
The purpose of this class is to perform some simple animations with ease and without using the same code a lot of times.
So, I would like it to behave like [UIView animateWithDuration...].
Should I create a…

BlackM
- 3,927
- 8
- 39
- 69