Swift: Button image not showing after adding gradient to button
You may move the button's imageView
to the top position
with bringSubview(toFront:)
if let imageView = button.imageView {
productsAndServicesButton.bringSubviewToFront(imageView)
}