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