Questions tagged [uianimation]
411 questions
1
vote
1 answer
Avoid status bar transparency while animating
I got the viewController with 2 elements:
view with labels and buttons
tableView
I'm getting the following animation by changing view's height constraint from 170 to 0 and than animating view.layoutIfNeeded() and tableView.layoutIfNeeded().
My…

oleskii
- 366
- 3
- 14
1
vote
0 answers
UIAnimations Disabled when orientation changes ios 9.2 issue
I have updated the latest ios9.2 version. In have a UITextView in a controller. When I rotate the device when keyboard is visible, the UIAnimation is disabled. After this, all the navigations, transitions are happening without animation. Any…

Sheik_101
- 770
- 1
- 8
- 24
1
vote
1 answer
Elegantly move a UIView to a keyboard's inputAccessoryView
Is there an elegant way to seamlessly move a UIView (i.e. a UIButton), that lives on the bottom of it's parent view, to a keyboard's inputAccessoryView?
I envision the keyboard to basically pick up the button and drag it up while it is sliding in.…

flohei
- 5,248
- 10
- 36
- 61
1
vote
2 answers
How to fade in a UIVIew from a specific location in the Main View
My app currently has two modes, a Month view, which displays every date in the month (1->31), and when you click a button, the calendar shifts into a year view with displays of every month. What I'm trying to do is when in year mode, when i click to…

Varun Varahabotla
- 548
- 2
- 7
- 16
1
vote
2 answers
Scrollable UITableView slide up to top of screen in Swift
I am trying to create a very simplified layout, something like Stripe's iOS app has which you can see here: https://stripe.com/img/dashboard_iphone/screencast.mp4
At around 0:06s the table view is swiped up and it moves up to the top of the window.…

Sam Mason
- 1,037
- 1
- 8
- 29
1
vote
3 answers
How to animate on uitextfields begins editing in swift
I want to perform some animation on secondTextField when the FirstTextfield becomesFirstResponder
After resign first responder the animation should reverse back in second text field. How can I achieve this in swift?
Note: It is different from…

AAA
- 1,957
- 4
- 23
- 42
1
vote
1 answer
Animate heading change in MKMapView
Simple question - I am trying to animate the change in heading for my map view, but haven't yet found a way to do this. I have tried using UIAnimation, but as I anticipated, this didn't work.
This is my code:
@IBAction func rotateToDefault(sender:…

user3746428
- 11,047
- 20
- 81
- 137
1
vote
6 answers
Switching between UITextFields
I have a view with additional UIView that in fact is a container for 2 UITextFields
When any of these text fiels become first responder i need to move them up because when keyboard is opened text fields are not visible. I am handling…

Anton Holub
- 468
- 1
- 5
- 9
1
vote
3 answers
How to reduce the opacity of an UIButton gradually?
In my project i have an UIButton which on clicking zooms. Everything is fine till here but i require the opacity of the button to gradually decrease from 1 to 0. I mean it should decrease in 1,0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1,0.0 sequence. My…

User1075
- 819
- 15
- 36
1
vote
0 answers
How to track a crash in iOS extension-custom keyboard in UIAutomation?
How do I know if my custom keyboard crashed when using UIAutomation to do auto-testing?
Now I'm checking if the keyboard is changed to system keyboard. If so, the custom keyboard is considered as crashed.

Xiaolei Zhen
- 21
- 3
1
vote
1 answer
How to animate a UICollectionView Cell Become a circle With Swift?
When a user selects a cell, i want the cell to animate from a square to a circle. I am using this code, but it does not animate, why?
Note: Code is in swift.
cell.layer.cornerRadius = 7
cell.clipsToBounds = true
…

nachshon fertel
- 145
- 1
- 1
- 11
1
vote
2 answers
Moving UITableView position in Swift
I am trying to animate a UITableView so that when the view appears, it slides up from the bottom of the screen. I have tried using loads of different methods from different questions on here, but no suggestions have worked for me.
What I have at…

user3746428
- 11,047
- 20
- 81
- 137
1
vote
1 answer
Add deceleration and acceleration to scale animation
I have an animation which basically increases and decreases a button's scale to draw the user's attention to the fact that it is tappable.
It works fine, but it isn't very smooth. Once it reaches it's full size, it just switches immediately to…

user3746428
- 11,047
- 20
- 81
- 137
1
vote
2 answers
How can I hide my UIImageView after the animation is completed?
How can I hide my UIImageView after the animation is completed? My animation is working fine when I segue into the view. I want to be a able to hide the image after the animation is complete. How might I do that?
-(void) animate
{
…

Jack Shultz
- 2,031
- 2
- 30
- 53
1
vote
0 answers
UITextField bug while animating
I have UITextField and UIView animation which show and hide container with text field. If I edit text and then hide my text field, i see that text immediately change a frame at zero position, and then animate at normal place.
But it happens only at…

aquarium_moose
- 355
- 1
- 11