是否可以将元素添加到导航控制器的底部工具栏?

发布于 2024-08-18 10:26:51 字数 74 浏览 12 评论 0原文

我想将进度视图和活动指示器视图添加到导航控制器底部的工具栏。但是当我拖放它时,它就变得适用于整个窗口?

我该怎么做呢?

I want to add a progressview and an activity indicator view to the tool bar that come at the bottom of the navigation controller. But when I drag and drop it, it becomes applicable to the whole window?

How can I do it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光暖心i 2024-08-25 10:26:51

如果我能理解您的问题,那么您的问题是在工具栏上添加活动指示器时。因为添加 UIProgressView 不是问题。

为此,您必须首先在工具栏上添加一个 UIView,然后在该视图中插入活动指示器。

让我知道它是否对您有用!

干杯,
虚拟网络

If I could understand your question, your problem is when adding the activity indicator on the toolbar. Because to add the UIProgressView is not a problem.

To do that, you have to first add a UIView on your toolbar, and then insert the activity indicator inside this view.

Let me know if it works, for you!

Cheers,
VFN

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文