Skip to content
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

How to change item background color??? #294

Open
brandonrains77 opened this issue Sep 18, 2020 · 0 comments
Open

How to change item background color??? #294

brandonrains77 opened this issue Sep 18, 2020 · 0 comments

Comments

@brandonrains77
Copy link

brandonrains77 commented Sep 18, 2020

Currently using .systembackground as my color scheme, works great except in Darkmode when item background are still white. How do you set the background color of the items programatically??

Here is my code :
self.floaty.buttonColor = .systemBackground
self.floaty.alpha = 0.75
self.floaty.buttonImage = UIImage(named: "ic_menu")

                self.floaty.addItem("Continue Reading", icon: UIImage(named: "ic_notes")!, handler: { item in
                    etc.....
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

No branches or pull requests

1 participant