gpt4 book ai didi

iphone - UIActionSheet 的问题

转载 作者:行者123 更新时间:2023-12-03 18:14:08 25 4
gpt4 key购买 nike

当我运行我的应用程序并单击操作表按钮时,会出现以下内容:

Presenting action sheet clipped by its superview. Some controls might not respond to touches. On iPhone try -[UIActionSheet showFromTabBar:] or -[UIActionSheet showFromToolbar:] instead of -[UIActionSheet showInView:].

我该如何解决?

最佳答案

试试这个,它对我来说非常有效:

[actionSheet showInView:[UIApplication sharedApplication].keyWindow];

关于iphone - UIActionSheet 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4456982/

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