Class UIBarAppearance

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
UINavigationBarAppearance, UITabBarAppearance, UIToolbarAppearance

public class UIBarAppearance
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 13.0 and later.
  • Constructor Details

    • UIBarAppearance

      public UIBarAppearance()
    • UIBarAppearance

      protected UIBarAppearance​(NSObject.Handle h, long handle)
    • UIBarAppearance

      protected UIBarAppearance​(NSObject.SkipInit skipInit)
    • UIBarAppearance

      public UIBarAppearance​(UIUserInterfaceIdiom idiom)
    • UIBarAppearance

      public UIBarAppearance​(UIBarAppearance barAppearance)
    • UIBarAppearance

      public UIBarAppearance​(NSCoder coder)
  • Method Details

    • getIdiom

      public UIUserInterfaceIdiom getIdiom()
    • getBackgroundEffect

      public UIBlurEffect getBackgroundEffect()
    • setBackgroundEffect

      public void setBackgroundEffect​(UIBlurEffect v)
    • getBackgroundColor

      public UIColor getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor​(UIColor v)
    • getBackgroundImage

      public UIImage getBackgroundImage()
    • setBackgroundImage

      public void setBackgroundImage​(UIImage v)
    • getBackgroundImageContentMode

      public UIViewContentMode getBackgroundImageContentMode()
    • setBackgroundImageContentMode

      public void setBackgroundImageContentMode​(UIViewContentMode v)
    • getShadowColor

      public UIColor getShadowColor()
    • setShadowColor

      public void setShadowColor​(UIColor v)
    • getShadowImage

      public UIImage getShadowImage()
    • setShadowImage

      public void setShadowImage​(UIImage v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(UIUserInterfaceIdiom idiom)
    • init

      protected long init​(UIBarAppearance barAppearance)
    • init

      protected long init​(NSCoder coder)
    • copy

      public UIBarAppearance copy()
      Overrides:
      copy in class NSObject
    • configureWithDefaultBackground

      public void configureWithDefaultBackground()
    • configureWithOpaqueBackground

      public void configureWithOpaqueBackground()
    • configureWithTransparentBackground

      public void configureWithTransparentBackground()
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding