View Swift View Z Front de commande

//https://stackoverflow.com/a/4631895/13171606
//in controller class
var myView = UIView()

override func viewDidLoad() {
        super.viewDidLoad()
  myView.layer.zPosition = 1 //this line will order view on front
}

//if you get any error using "zPosition" then import following 
//swift
import QuartzCore
//Or for obj c
#import QuartzCore.h is for obj c
Lucky Lapwing