There is a navigation bar in the interface, and the “Exit” button is located in it. However, at launch, this menu simply does not exist (screenshot below) enter image description here

enter image description here enter image description here enter image description here

  • Try using UIBarButtonItem instead of the usual UIButton - Victor Mishustin
  • @ ViktorMishustin added, nothing has changed, this menu isn’t from above, and accordingly all its components - StriBog
  • maybe the bar is hidden, try setting self.navigationController.navigationBarHidden = NO in the controller class; - Victor Mishustin
  • @ ViktorMishustin it is not hidden, checked ps the lower part is also not displayed, the problem is with the navigator itself, as if it is not connected - StriBog
  • Most likely it is overlapped, this button must be dragged upwards along the hierarchy in the storyboard. - Orest Mykha

1 answer 1

Check if you have a tick on the Show Navigation Bar Navigation bar