It's been a long time I haven't been working on an ios project. Anyway, I have an icon that is behaving differently on ios13.
when I change the values, it seems to have an effect on devices running ios 12 and lower but not 13

let showImage : UIImage = UIImage(named: "show-512")!
showHideButton.setImage(showImage, for: UIControlState())
showHideButton.frame = CGRect(x: -10.0, y: 0.0, width: 30.1, height: 22.2)