gpt4 book ai didi

ios - 允许 UIPopover 的特定方向

转载 作者:行者123 更新时间:2023-11-28 22:35:18 25 4
gpt4 key购买 nike

我想知道如果我希望我的 UIPopoverConroller 只显示 UIPopoverArrowDirectionLeft 或 UIPopoverArrowDirectionRight,我该怎么做。我可以得到所有方向,也可以只有一个。

是否可以允许两个?

谢谢

最佳答案

将允许的箭头方向设置为:

UIPopoverArrowDirectionLeft | UIPopoverArrowDirectionRight

然后,框架将在呈现弹出窗口时选择最佳使用。

关于ios - 允许 UIPopover 的特定方向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16241726/

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