按住按钮删除

发布于 2024-09-10 08:24:16 字数 215 浏览 1 评论 0原文

嗯,我似乎无法在网站上的任何地方找到这个。这是我的问题。

我有一个测试应用程序,它创建多个按钮,并通过工具栏中的“+”为每个按钮指定一个唯一的名称。到目前为止,一切都很好。

我正在尝试找到一种方法来按下按钮以获得 Apple Jiggly 效果,然后删除该按钮以及与其相关的所有子视图和数据。

谁能告诉我这里的路吗?

谢谢,

威尔...

Well, I cannot seem to find this anywhere on the site. So here is my question.

I have a test app which creates multiple buttons and gives each one a unique name via "+" in the toolbar. So far so good.

I am trying to find a way to press down on a button to get that Apple Jiggly effect and then delete that button and all subViews and data related to it.

Can anyone Please show me the way here?

Thanks,

Will...

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

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

发布评论

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

评论(1

稚气少女 2024-09-17 08:24:16

查看 Three20 的 TTLauncherView 以了解如何完成此操作的示例。

API:http://api. Three20.info/interface_t_t_launcher_view.html

代码:

="http://github.com/facebook/third20" rel="nofollow noreferrer">http://github.com/facebook/third20 ( 必须在点击删除 X 框后自行删除子视图和数据。

Look at three20's TTLauncherView for an example of how this is done.

API: http://api.three20.info/interface_t_t_launcher_view.html

Code: http://github.com/facebook/three20 (specifically, the TTCatalog which has the TTLauncher in it)

You would have to implement deleting the subviews and data yourself after they hit the delete X box.

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