uiviewpropertyanimator Questions

3

Solved

I've been looking at the very cool new UIViewPropertyAnimator class in iOS 10. It lets you easily do things like pause, resume, and reverse in-flight UIView animations. It used to be that you had t...
Bewley asked 9/12, 2016 at 3:3

3

Solved

THE PROBLEM Running the same code on iOS10 and iOS11 my UIViewPropertyAnimator has a different behaviour just after changing of his .isReversed property. Everything is ok on iOS10. The animation p...
Alphard asked 25/9, 2017 at 13:39

3

Solved

So I'm using the new UIViewPropertyAnimator and UIVisualEffectView to achieve the same thing as the Spotlight search when you scrolling down on the home screen and it blurs the background. I'm usi...
Judicative asked 16/12, 2016 at 17:45

2

Solved

I haven’t used UIViewPropertyAnimator very much (still an old fashioned blocks guy) and I’m seeing some behavior that I can’t explain and that the docs don’t really provide any insight on. Why doe...
Simonsimona asked 16/1, 2019 at 23:41

3

UIViewPropertyAnimator is very convenient for modifying a view's transform, alpha, etc. However, there are times when you wish to animate a CAShapeLayer path, or a UIImageView image changing. Is th...
Study asked 24/10, 2017 at 22:45

1

Solved

In UIViewPropertyAnimator, is there a way to just stop all UIViewPropertyAnimator animations? Or perhaps simply get all current animations - then of course you could stop them all. Can this be done...
Revet asked 15/12, 2017 at 0:21

1

Solved

I am using UIViewPropertyAnimator to animate interaction with my view (swiping between cards). Everything was working fine, until recently I got following crash in production: Fatal Exception: NSI...
Cho asked 18/1, 2018 at 13:18

1

Solved

For boilerplate on setting up a gesture recognizer and such for the interactive transition, see this answer. I am experimenting with interactive transitions, and spent quite a bit of time trying t...
Landwaiter asked 5/11, 2017 at 22:15

1

What I Have I am using UIViewControllerAnimatedTransitioning protocol with an attached UIViewPropertyAnimator to pan down to dismiss a View Controller extension SecondViewController : UIViewContr...
Pym asked 30/7, 2017 at 15:17

1

I was messing with the documentation of UIViewPropertyAnimator and I was hoping to find a way to combine two UIViewPropertyAnimator. Something like this: let firstAnimator = UIViewPropertyAnimator(...
Borlow asked 9/11, 2017 at 17:36

1

Solved

I wanted to know in which scenarios we should use any of them as the best fit? In the following blog https://www.hackingwithswift.com/ios10, the example written in "Animations revisited" section, ...

0

Here is a Swift playground code, which I also tested in the iOS Simulator just to be sure that it's not an issue of Playground. Setting the property fractionComplete result in change of state from...
Amaris asked 5/3, 2017 at 11:28

1

Solved

I would like to determine, what is the center position of a UIVIew (the middle point of the view) during an animation. An animation with UIViewPropertyAnimator like this: let animator = UIViewPrope...
Tickler asked 17/10, 2016 at 22:12

1

Solved

iOS 10 has a couple of new classes for animating. Notable ones include UIViewPropertyAnimator and UISpringTimingParameters. The property animator can be created with a duration and timing parameter...
Sula asked 2/8, 2016 at 21:51
1

© 2022 - 2024 — McMap. All rights reserved.