I've created one UIView and change the background image to it by using the following code
slot1_view?.backgroundColor = UIColor(patternImage: UIImage(named: "drum_cut.png")!)
It's working fine on iphone but on ipad the background image become repeated.
How can I change its contentmode to something the fill the entire UIView?
Please help!!!!