gpt4 book ai didi

iphone - iPad 上弹出 Controller 内的按钮

转载 作者:行者123 更新时间:2023-12-03 19:06:23 25 4
gpt4 key购买 nike

我正在尝试在 iPad 应用程序中创建与此类似的弹出窗口。

alt text

有人知道是否有内置方法可以做到这一点吗?它是 UIPopoverController 内部的 UISegmentedControl 吗?

最佳答案

不,它不是弹出 Controller 内的分段控件。这是一个菜单 Controller 。

您可以获得共享菜单 Controller ,然后编辑其 menuItems property ,并显示它。

关于iphone - iPad 上弹出 Controller 内的按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2632436/

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