We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As title, the following code shows how i set the roundCorners for a customView display
roundCorners
let customView = UIView(frame: CGRect(x: 0, y: 0, width: self.view.width, height: self.view.height/2)); customView.backgroundColor = UIColor.yellow; var attributes = EKAttributes.bottomNote; attributes.screenBackground = .color(color: EKColor(UIColor(white: 0.25, alpha: 0.85))); attributes.positionConstraints.safeArea = .overridden; attributes.positionConstraints.size = .init( width: .constant(value: 300), height: .constant(value: 500) ) attributes.roundCorners = .top(radius: 25) //doesn't work SwiftEntryKit.display(entry: customView, using: attributes)
Expected behavior
The text was updated successfully, but these errors were encountered:
You should set the entryBackground instead of the customView's backgroundColor
Sorry, something went wrong.
No branches or pull requests
As title, the following code shows how i set the
roundCorners
for a customView displayExpected behavior
The text was updated successfully, but these errors were encountered: