ScrollViewControllerProtocol

extension ScrollViewControllerProtocol where Self: UIViewController

Available where Self: UIViewController

  • 滚动视图,默认不显示滚动条

    Declaration

    Swift

    @nonobjc
    public var scrollView: UIScrollView { get }
  • 内容容器视图,自动撑开,子视图需要添加到此视图上

    Declaration

    Swift

    @nonobjc
    public var contentView: UIView { get }