Post

Replies

Boosts

Views

Activity

Animator addCompletion() strange behaviour
Hello all, I am currently investigating some strange behaviour with the animator and add completion functionality. In this case, a computed property is used within the addCompletion() method in order to inform a Unit test that the animation has completed. This functionality is working for iOS 14 and below but as of iOS 15, it fails. Putting a breakpoint on the addCompletion() (the line that adds the computed property that dictates when the expectation has be met) fixes this functionality. It is proving difficult to debug this as a result of the usages of the breakpoint resolving the test. We are not adopting the asynchronous method for this computed property Is anyone aware of any changes or problems in this domain?
1
0
452
Jan ’22