dismiss current view controller and popviewcontroller swift code example Example: swift close view dismiss(self)