liufengting / FTPopOverMenu

FTPopOverMenu is a pop over menu for iOS which is maybe the easiest one to use. Supports both portrait and landscape. It can show from any UIView, any UIBarButtonItem and any CGRect.
MIT License
1.04k stars 170 forks source link

按钮动画的缩放偶现效果会被中断 #52

Closed bob2077 closed 1 year ago

bob2077 commented 1 year ago

这应该是一个bug

liufengting commented 1 year ago
    [UIView animateWithDuration:self.config.animationDuration
                     animations:^{

                     }completion:^(BOOL finished) {
                         if (finished) {

                         }
                     }];
                         if (finished) {

                         }

这个if判断应该去掉可以解决。

bob2077 commented 1 year ago

不是上边的原因。据我排查,是因为初始化视图时使用异步主线程造成动画可能不被执行。

liufengting commented 1 year ago

好的,周末会更新版本解决,更新后通知你。发自我的 iPhone在 2022年12月2日,10:09,bob @.***> 写道: 不是上边的原因。据我排查,是因为初始化视图时使用异步主线程造成动画可能不被执行。

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

liufengting commented 1 year ago

2.1.3