UIToolbar

class UIToolbar : UIView, UIBarPositioning

This extesion adds some useful functions to UIToolbar.

  • Set the UIToolbar transparent or not.

    Declaration

    Swift

    public func setTransparent(_ transparent: Bool, translucent: Bool = true)

    Parameters

    transparent

    Set to true if trasparent, otherwise false.

    translucent

    Set to true if translucent, otherwise false.