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

页面返回的时候内存不会释放 #21

Closed
blueShite opened this issue Aug 28, 2018 · 0 comments
Closed

页面返回的时候内存不会释放 #21

blueShite opened this issue Aug 28, 2018 · 0 comments

Comments

@blueShite
Copy link

+(instancetype)informationViewController {

YNPageConfigration *configration = [YNPageConfigration defaultConfig];
configration.pageStyle = YNPageStyleTop;
configration.headerViewCouldScale = YES;
configration.headerViewScaleMode = YNPageHeaderViewScaleModeTop;
configration.showTabbar = NO;
configration.showNavigation = YES;
configration.scrollMenu = YES;
configration.aligmentModeCenter = NO;
configration.lineWidthEqualFontWidth = NO;
configration.showBottomLine = YES;
configration.lineColor = COLOR_NAV_BG;
configration.converColor = COLOR_NAV_BG;
configration.selectedItemColor = [UIColor blackColor];
configration.normalItemColor = COLOR_TEXT_6;
configration.bottomLineBgColor = COLOR_SEPARATOR;
configration.bottomLineHeight = 1;
configration.itemFont = [UIFont systemFontOfSize:16];
configration.selectedItemFont = [UIFont systemFontOfSize:16];

CCMInformationViewController *vc = [CCMInformationViewController pageViewControllerWithControllers:[self getArrayVCs]
                               titles:[self getArrayTitles]
                               config:configration];
vc.dataSource = vc;
vc.delegate = vc;
return vc;

}

这样初始化,返回的时候内存没有释放

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