iPhone 可配置按钮菜单
我只是想知道是否有人知道制作可配置按钮菜单的最佳方法。我正在尝试制作一个像标准 iPhone 按钮界面一样的界面,其中我将横向 4 个按钮,向下 4 个按钮。就像 iPhone 按钮菜单一样,当您按住它时,用户可以将按钮移动到他们想要的配置。也喜欢 facebook iPhone 应用程序菜单。
有什么想法吗?
谢谢
Im just wondering if anyone knows the best approach to make a configuable button menu. Im trying to make one like the standard iphone button interface where I will 4 buttons across and 4 buttons down. And like on the iphone button menus, when you press and hold it allows the users to move the buttons around to the configuration they desire. Also like the facebook iphone app menu.
Any ideas?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您最好的选择可能是 Three20 Library。它具有许多通用功能,但具体而言,您将使用 TTLauncherView,它源自 Facebook 应用程序。库源代码中包含一个示例,可以在此处下载。
Your best bet is probably the Three20 Library. It has lots of general functions, but specifically you would use TTLauncherView, which is derived from the Facebook application. There is an example included in library source, which can be downloaded Here.
不使用 Three20 库的另一个选项是使用 UIScrollView 的分页。
Another option that doesn't use the Three20 library is to use paging with the UIScrollView.