Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework dismissal blocks to allow for interaction with a notice that s…
…upport interactive dismissal and a timeout. In these cases, the display interval is managed by an NSTimer instead of the UIView animation delay property. This is because of two factors: 1. The UIView animation blocks by default disable interaction with the views. 2. If you enable the option to support interaction, the frame of the button matches the final destination frame instead of the current visible frame. This causes hit tests to fail and for all intents and purposes makes the notice view an untappable target.
- Loading branch information
1 parent
624e8ed
commit e6e8668
Showing
1 changed file
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters