swift add view to front code example Example: swift bring something to front of view self.view.bringSubviewToFront(yourView)