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