iOS 中这个栏怎么做呢?

发布于 2025-01-08 03:21:50 字数 235 浏览 5 评论 0原文

我真的很喜欢这个弹出窗口,其中包含所选列表项的附加功能:

在此处输入图像描述

但不知道这是怎么回事完毕。有人知道该怎么做或者有指南或一些关键字给我吗?

这是另一个示例:

在此处输入图像描述

I really like this popup with the additional functions for the selected listitem under:

enter image description here

But have no idea how this is done. Does anyone know how to do it or has a guide or some keywords for me?

Here is another example:

enter image description here

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

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

发布评论

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

评论(2

浅黛梨妆こ 2025-01-15 03:21:51

您可以通过在选择单元格时向视图添加一个 alpha <1 的 UISegmentedControl 来实现类似的效果 - 希望这会有所帮助:)

You could achieve a similar effect by adding a UISegmentedControl with <1 alpha to the view when a cell is selected - hope this helps :)

感性不性感 2025-01-15 03:21:51

需要注意的关键字是:

UIToolBarUISegmentedControl - 两者都使用一些自定义绘图或外观修改。好吧,您也可以创建一个包含一堆 UIImageView 的完整自定义 UIView

另外,对于该阴影,请查看 CALayershadowOffsetshadowColorshadowOpacity 等。 。 特性。

The keywords to look out for are:

UIToolBar or UISegmentedControl - both using some custom drawing or appearance modifications. Well, you could just as well create an entire custom UIView containing a bunch of UIImageView's.

Additionaly, for that shadow have a look at CALayer's shadowOffset, shadowColor, shadowOpacity, etc. ... properties.

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