Zepo
Zepo
TransitionCoordinator is not working in situation where popping an UIViewController WITHOUT animation.
这个方法挺不错的,先赞一个。还有两点: 1. !context.percentComplete 这个条件应该是没必要的,percentComplete 是手指松开那一刻的动画的百分比,基本不可能为 0。 2. 目前 MLeaksFinder 的 target 是 iOS 6,而 TransitionCoordinator 需要 iOS 7 以上。不过 iOS 6 也差不多可以抛弃了。可以把 MLeaksFinder 的 target 改 iOS 7。
Yes, you can do so. However, not checking the subclasses works good for me so far, cause the classes in whitelist are usually system private classes that you won't override...