Skip to content

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

@sxdxzkq

Description

@sxdxzkq

在 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions