Ios UIImageView连接到UIBarBackground

Ios UIImageView连接到UIBarBackground,ios,objective-c,uinavigationcontroller,uinavigationbar,Ios,Objective C,Uinavigationcontroller,Uinavigationbar,以下是该问题的屏幕截图:- 不确定为什么要添加uiimageview,以及什么是\UIBarBackGround? 感谢您的帮助 完整流程截图:- 我也有同样的问题,但在UITabBar上 将UIBarStyle更改为黑色 public enum UIBarStyle : Int { case `default` = 0 case black = 1 @available(iOS, introduced: 2.0, deprecated: 13

以下是该问题的屏幕截图:-

不确定为什么要添加uiimageview,以及什么是
\UIBarBackGround

感谢您的帮助

完整流程截图:-


我也有同样的问题,但在UITabBar上

将UIBarStyle更改为黑色

public enum UIBarStyle : Int {

    
    case `default` = 0

    case black = 1

    
    @available(iOS, introduced: 2.0, deprecated: 13.0, message: "Use UIBarStyleBlack instead.")
    public static var blackOpaque: UIBarStyle { get }

    @available(iOS, introduced: 2.0, deprecated: 13.0, message: "Use UIBarStyleBlack and set the translucent property to YES instead.")
    case blackTranslucent = 2
}


tabBar.barStyle=.black

希望这能帮上忙:你找到这上面的东西了吗????