MediaBrowser

Undocumented

  • UINavigationBar Translucent for MediaBrowser

    Declaration

    Swift

    public var navigationBarTranslucent = true
  • UINavigationBar Text Color for MediaBrowser

    Declaration

    Swift

    public var navigationBarTextColor = UIColor.white
  • UINavigationBar Background Color for MediaBrowser

    Declaration

    Swift

    public var navigationBarBackgroundColor = UIColor.black
  • UINavigationBar Tint Color for MediaBrowser

    Declaration

    Swift

    public var navigationBarTintColor = UIColor.black.withAlphaComponent(0.5)
  • UIStatusBarStyle for MediaBrowser

    Declaration

    Swift

    public var statusBarStyle: UIStatusBarStyle = .lightContent
  • UIToolBar Text Color for MediaBrowser

    Declaration

    Swift

    public var toolbarTextColor = UIColor.white
  • UIToolBar Tint Color for MediaBrowser

    Declaration

    Swift

    public var toolbarBarTintColor = UIColor.black.withAlphaComponent(0.5)
  • UIToolBar Tint Background for MediaBrowser

    Declaration

    Swift

    public var toolbarBackgroundColor = UIColor.black
  • MediaBrowser has belonged to viewcontroller

    Declaration

    Swift

    public var hasBelongedToViewController = false
  • Check viewcontroller based status bar apperance

    Declaration

    Swift

    public var isVCBasedStatusBarAppearance = false
  • Hide or show status bar

    Declaration

    Swift

    public var statusBarShouldBeHidden = false
  • Display action button (share)

    Declaration

    Swift

    public var displayActionButton = true
  • Make status bar not hide

    Declaration

    Swift

    public var leaveStatusBarAlone = false
  • Perform layout

    Declaration

    Swift

    public var performingLayout = false
  • Support rotating

    Declaration

    Swift

    public var rotating = false
  • Active as in it’s in the view heirarchy

    Declaration

    Swift

    public var viewIsActive = false
  • Save previous status bar style to return when push

    Declaration

    Swift

    public var didSavePreviousStateOfNavBar = false
  • Stop specific layout being triggered

    Declaration

    Swift

    public var skipNextPagingScrollViewPositioning = false
  • View has appeared initially

    Declaration

    Swift

    public var viewHasAppearedInitially = false
  • Make current grid offset

    Declaration

    Swift

    public var currentGridContentOffset = CGPoint(x: 0, y: CGFloat.greatestFiniteMagnitude)
  • Set MediaBrowserDelegate for MediaBrowser

    Declaration

    Swift

    public var delegate: MediaBrowserDelegate?
  • Available zoom photos to fill

    Declaration

    Swift

    public var zoomPhotosToFill = true
  • Display Media Navigation Arrows

    Declaration

    Swift

    public var displayMediaNavigationArrows = false
  • Display selection buttons

    Declaration

    Swift

    public var displaySelectionButtons = false
  • Always show controls

    Declaration

    Swift

    public var alwaysShowControls = false
  • Enable grid

    Declaration

    Swift

    public var enableGrid = true
  • Enable swipe to dismiss

    Declaration

    Swift

    public var enableSwipeToDismiss = true
  • Start on Grid

    Declaration

    Swift

    public var startOnGrid = false
  • Auto play video on appear

    Declaration

    Swift

    public var autoPlayOnAppear = false
  • Hide control when MediaBrowser start

    Declaration

    Swift

    public var hideControlsOnStartup = false
  • Hide time inerval

    Declaration

    Swift

    public var delayToHideElements = TimeInterval(5.0)
  • Captionview alpha

    Declaration

    Swift

    public var captionAlpha = CGFloat(1)
  • Toolbar alpha

    Declaration

    Swift

    public var toolbarAlpha = CGFloat(1)
  • Loading Indicator Inner Ring Color

    Declaration

    Swift

    public var loadingIndicatorInnerRingColor = UIColor.white
  • Loading Indicator Outer Ring Color

    Declaration

    Swift

    public var loadingIndicatorOuterRingColor = UIColor.gray
  • Loading Indicator Inner Ring Width

    Declaration

    Swift

    public var loadingIndicatorInnerRingWidth:CGFloat = 1.0
  • Loading Indicator Outer Ring Width

    Declaration

    Swift

    public var loadingIndicatorOuterRingWidth:CGFloat = 1.0
  • Loading Indicator Font

    Declaration

    Swift

    public var loadingIndicatorFont = UIFont.systemFont(ofSize: 10)
  • Loading Indicator Font Color

    Declaration

    Swift

    public var loadingIndicatorFontColor = UIColor.white
  • Loading Indicator Show or hide text

    Declaration

    Swift

    public var loadingIndicatorShouldShowValueText = true
  • Media selected on icon

    Declaration

    Swift

    public var mediaSelectedOnIcon: UIImage?
  • Media selected off icon

    Declaration

    Swift

    public var mediaSelectedOffIcon: UIImage?
  • Media selected grid on icon

    Declaration

    Swift

    public var mediaSelectedGridOnIcon: UIImage?
  • Media selected grid off icon

    Declaration

    Swift

    public var mediaSelectedGridOffIcon: UIImage?
  • Caching image count both side (e.g. when index 1, caching 0 and 2)

    Declaration

    Swift

    public var cachingImageCount = 1