Use the below line to make the button fill the space:
playButton.imageView?.contentMode = .scaleAspectFit