我遵循了一些教程,但是后退按钮是自动创建的。我创建了一个新的 View Controller ,并将导航显示设置为导航栏上的加号按钮。但是当导航到新的 View Controller 时,没有按钮返回到以前的 View Controller 。
我在这里:
最佳答案
在您的 ViewController
中放置 tableView
的地方。点击那个 ViewController
然后转到 -
EDITOR(on top of xcode)-> EMBED IN ->NAVIGATION CONTROLLER
运行您的项目。现在您将在新的 ViewController
中看到一个后退按钮。
关于ios - 如何在 Xcode 中的 UINavigationController 上创建 BackButton?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49720376/