Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

弹出uiview后dismiss时,view关闭后会闪几下 #13

Open
DeraDream opened this issue Jun 10, 2022 · 5 comments
Open

弹出uiview后dismiss时,view关闭后会闪几下 #13

DeraDream opened this issue Jun 10, 2022 · 5 comments

Comments

@DeraDream
Copy link

rt,view里自定了一个tableview,执行dismiss后屏幕上有view的残影闪了几下然后消失,目前我这边只能isNeedAnimate设为false。

@DeraDream
Copy link
Author

目前只能将isNeedAnimate设为false来解决,但这样没了动画效果

@maltsugar
Copy link
Owner

demo里有tableview啊 demo会有这个问题吗

@DeraDream
Copy link
Author

demo里有tableview啊demo会有这个问题吗

demo里没有tableview呀

@DeraDream
Copy link
Author

还有CPAlignStyle能否多加几个枚举值,比如top、bottom。目前只要center,left,right,比如当showFrom为nil时,让视图紧贴vc顶部或者紧贴vc底部

@DeraDream
Copy link
Author

@Property (nonatomic, assign) BOOL isNeglect;//是否忽略showFrom为空不走位置判断,不影响其他逻辑
if (!_showFrom && _style.isNeglect==NO) {

    self.containerView.center = self.center;
    return;

}
case CPAlignStyleBottom:
{
CGRect frame = self.containerView.frame;
frame.origin.y = self.frame.size.height - frame.size.height - safeInsets.bottom;
self.containerView.frame = frame;
self.containerView.apexOftriangelX = CGRectGetWidth(self.containerView.frame)/2;
}
不知道这么改会不会有问题,您的源码我还没来得及细看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants