Add CALayer below UIView
[self.view.layer insertSublayer:CALayer below:subview.layer]
In Swift:
self.view.layer.insertSublayer(self.avPlayerLayer, below: self.button1.layer)
A more general solution where you don't have access to the subviews:
layer.insertSublayer(sublayer, at: 0)