Skip to content

navigationBar.isTranslucent = true,页面背景色不同时跳转,会有闪烁 #163

@yuanyedehuhuan

Description

@yuanyedehuhuan

测试前提条件:
1、navigationBar.isTranslucent = true
2、导航栏背景色设置为 navigationController?.navigationBar.barTintColor = .white 或者 navigationController?.navigationBar.setBackgroundImage(UIColor.white.toUIImage(), for: .default)。其他颜色也可以如 UIColor.cyan
3、页面背景色设置为和导航栏不同的颜色,如绿色
现象是,push过程中导航栏颜色是 isTranslucent = false 的状态,push完成时瞬间变成透明的

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