gpt4 book ai didi

ios - 向 UITableView 添加第二个后退按钮

转载 作者:行者123 更新时间:2023-11-28 20:35:32 26 4
gpt4 key购买 nike

我已经在左上角有一个自动生成的后退按钮,但我想在我的 View 底部添加一个 UIButton 来做同样的事情。

这可能吗?

谢谢!

最佳答案

如果您使用的是 UINavigation Controller ,您可以注册一个按钮处理程序并添加代码

[[self navigationController] popViewControllerAnimated:YES];

这将提供与将 View 添加到 View 堆栈时生成的后退按钮相同的功能。

关于ios - 向 UITableView 添加第二个后退按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10694035/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com