Skip to content

customize the height #417

@wish-pig

Description

@wish-pig

If you customize the height, you need to add the height of the spacerView here, otherwise the height is incorrect, and the height setting of the spacerView is not publicly available.

public var bannerHeight: CGFloat { get { if let customBannerHeight = customBannerHeight { return customBannerHeight } else if shouldAdjustForDynamicIsland() { return 104.0 } else if shouldAdjustForNotchFeaturedIphone() { return 88.0 } else { return 64.0 + heightAdjustment } } set { customBannerHeight = newValue } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions