why view is in front interface builder swift code example Example: swift bring something to front of view self.view.bringSubviewToFront(yourView)