Closed prossir closed 5 years ago
Hello @AntaresR,
Thank you for your issue. Unfortunately I can't reproduce this behavior. Can you please provide example of code where you setup ExpandableButton
and ExpandableButtonItems
. And example of image that you use.
@DimaMishchenko I solve it using . alwaysOriginal
ExpandableButtonItem( image: UIImage(named: "ic_arkit_sand")?.withRenderingMode(.alwaysOriginal), highlightedImage: UIImage(named: "ic_arkit_sand")?.withRenderingMode(.alwaysOriginal), attributedTitle: NSAttributedString( string: "AR", attributes: [.foregroundColor: UIColor.black, .font: UIFont.systemFont(ofSize: 12)]), highlightedAttributedTitle: NSAttributedString( string: "AR", attributes: [.foregroundColor: UIColor.black, .font: UIFont.systemFont(ofSize: 12)]), contentEdgeInsets: UIEdgeInsets(top: 6, left: 6, bottom: 6, right: 6), titleEdgeInsets: title_insets, imageEdgeInsets: image_insets, size: cell_size, titleAlignment: .center, imageContentMode: .scaleAspectFit, action: { _ in print("ic_augment danger") })
Thanks for your interest.
Closing issue. If you have any more questions feel free to open new issue.
Hello @DimaMishchenko ,
When I use your library the icons i use change from sand (color) to blue. Do you now why? Otherwise all is cool and working as expected.
Thank you.