iOS FAQ

0.0.1. Q. 1编译WildfireChat工程报错,提示找不到部分依赖?

A. WildfireChat隐式依赖于WFChatUIKit和WFChatClient,第一次运行必须先运行WFChatClient,再运行WFChatUIKit。运行之后会自动把库文件和依赖资源拷贝到对应目录,WildfireChat就可以编译运行了。

0.0.2. Q. 2如何修改野火IM标题栏颜色

A. 在野火IM Demo应用的AppDelegate.m文件中,有对全局navi的设置,在这里可以修改标题栏颜色

- (void)setupNavBar {
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;

    UINavigationBar *bar = [UINavigationBar appearance];
    bar.barTintColor = [UIColor colorWithRed:0.1 green:0.27 blue:0.9 alpha:0.9];
    bar.tintColor = [UIColor whiteColor];
    bar.titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor]};
    bar.barStyle = UIBarStyleBlack;
}
2018 © wildfirechat.cn 京ICP备18060403号-1 all right reserved,powered by Gitbook该文件修订时间: 2019-09-16 10:08:34

results matching ""

    No results matching ""