Skip to content

[UIView isAnimating] category method potentially misleading on iOS7 #14

Description

@lukeredpath

I use the isAnimating category method, defined in UIView+ShelleyExtensions.m to check that nothing is animating before interacting (e.g. tapping). I'm using the Igor query engine and some custom code but I believe Frank has a similar Cucumber step/helper method that uses this too.

As of iOS7, it is possible for certain elements to be "animating" without actually moving if they have some kind of motion effect attached to them. In my particular, action sheets and alerts have a parallax effect applied to them (using the private _UIParallaxMotionEffect class).

There are several ways around this; one would be to discount the above motion effect (or all motion effects) although that probably leaves open edge cases. Any suggestions here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions