Skip to content

Conversation

@iceboxi
Copy link

@iceboxi iceboxi commented Jun 4, 2020

Checklist

Motivation and Context

I want the pop menu above source view like system menu view controller, and custom pop menu shadow setting.

Description

About above source view
add a parameter popMenuAboveSourceView in PopMenuAppearance
default is false like now
if set it true, the pop menu will above source view upper or downer

About add custom shadow
add a parameter popMenuShadowColor with new struct PopMenuShadowColor
by default, you will get the setting like old version, if you want to custom shadow setting, just call this method

public static func custom(offset: CGSize = .zero, opacity: Float = 0.65, radius: CGFloat = 20, color: Color = .black) -> PopMenuShadowColor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant