我想将状态和导航栏从彩色更改为透明,从透明更改为彩色。我该怎么做?
在此处输入图像描述
navigationController?.navigationBar.barTintColor = .green // Set Background Color
navigationController?.navigationBar.barTintColor = .none // remove Background Color