UINavigationController 'corrupted navigation bar' issue

前端 未结 2 1486
醉梦人生
醉梦人生 2021-02-11 06:38

I\'m having serious problems getting my navigation controller to work and have tried pretty much every related question on this website.

My problem is that when I perfor

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-11 07:21

    You should not perform segue in viewDidLoad. Try performing in viewDidApperar:

    Apple documentation:

    Displaying a View Controller’s Contents Programmatically … Present it from another visible view controller. …

提交回复
热议问题