嗨,我有一个PSPDFViewController嵌入在UINavigationController中,然后将其作为splitview控制器中的左侧控制器。
我已将导航栏的颜色设置为与右侧控制器导航栏相匹配,但是PSPDFKit似乎在稍微更改颜色或Alpha。有什么办法可以关闭此功能吗?
这是我创建控制器的方式:
PSPDFViewController *pspdfController = [[PSPDFViewController alloc] initWithDocument:document];
UINavigationController *pspdfNavigationController = [[UINavigationController alloc] initWithRootViewController:pspdfController];
pspdfNavigationController.barTintColor = [[UIColor alloc] initWithRed:252.0/255.0 green:14.0/255.0 blue:47.0/255.0 alpha:1.0];;
pspdfNavigationController.backgroundColor = [[[UIColor alloc] initWithRed:252.0/255.0 green:14.0/255.0 blue:47.0/255.0 alpha:1.0];
pspdfNavigationController.tintColor = [UIColor whiteColor];
navbar.translucent = NO;
卢兹:
self.transparentHUD = NO;
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句