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

在 DLSlideView 的 - (void)switchTo:(NSInteger)index 方法点击时子页面显示错误 #42

Open
sxdxzkq opened this issue Jan 27, 2018 · 0 comments

Comments

@sxdxzkq
Copy link

sxdxzkq commented Jan 27, 2018

在 DLSlideView 的 - (void)switchTo:(NSInteger)index 方法中

CGRect nowRect = oldvc.view.frame;

应该修改为

CGRect nowRect = CGRectMake(CGRectGetMinX(oldvc.view.frame), CGRectGetMinY(oldvc.view.frame), CGRectGetWidth(self.bounds), CGRectGetHeight(self.bounds));

来解决点击 DLTabedSlideView 头部切换 controller时 controller.view底部未正确显示的bug

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

1 participant