-
-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customize the height #417
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 } }
The text was updated successfully, but these errors were encountered: