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

问题 在侧边栏时 #60

Open
YuLuoLeiShi opened this issue Apr 20, 2018 · 3 comments
Open

问题 在侧边栏时 #60

YuLuoLeiShi opened this issue Apr 20, 2018 · 3 comments

Comments

@YuLuoLeiShi
Copy link

显示侧边栏
YKMyController *myVC = [[YKMyController alloc]init];
[self cw_showDrawerViewController:myVC animationType:CWDrawerAnimationTypeMask configuration:nil];

  • (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];

    CGRect rect = self.view.frame;
    rect.size.width = kCWSCREENWIDTH * 0.75;
    self.view.frame = rect;
    }

UIViewController *nextVC = [[NSClassFromString(self.my_data[indexPath.row][@"controller"]) alloc]init];
在侧边栏使用 [self cw_pushViewController:nextVC]; 先闪一下白屏 然后才跳转
2018-04-20 4 21 27
2018-04-20 4 21 36

@ChavezChen
Copy link
Owner

能提供一个gif或者测试demo吗?这样不太好判断问题哦

@lifengios
Copy link

我的是在抽屉里面push的时候,先弹出CenterVC,然后再弹出本来要push的VC,自己写demo是没问题的

@ChavezChen
Copy link
Owner

能否提供一个gif图 看看现象

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

3 participants