Floaty icon indicating copy to clipboard operation
Floaty copied to clipboard

How to change item background color???

Open brandonrains77 opened this issue 4 years ago • 0 comments

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.....

brandonrains77 avatar Sep 18 '20 18:09 brandonrains77