Three20 Launcher 添加项目有帮助吗? - iPhone SDK
我正在使用 Three20 启动器在我的应用程序中获得主屏幕的感觉。我刚刚实现了基本的启动器。我有两件事想要完成。
首先,我希望用户在不同的视图控制器中推送 UIButton 或其他内容,以便在启动器中添加 TTViewController 和项目,我将如何做到这一点?
其次,我想知道如何创建一个视图,让用户可以添加所有信息以在启动器中添加自己的项目?这并不像第一件事那么必要。
我真的很想了解其中的一些内容并加深我对 Three20 启动器的了解。
I am using the three20 launcher to get a homescreen feel in my app. I just implemented the basic launcher. I have two things that I want to accomplish.
First off, I would like the user to push a UIButton or whatever in a DIFFERENT view controller that the TTViewController and an item be added in the launcher, how would I do this?
Secondly I would like to know how you could do a view where the user could add all the information to add their own item in the launcher? This isn't as necessary as the first thing.
I would really like to know some of this and deepen my knowledge in the three20 launcher.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需为视图控制器设置一种与启动器对话的方式,可以通过委托、通知或任何您想要的方式,然后添加如下项目:
Just setup a way for your view controller to talk to the launcher, either by delegation, notifications or whatever you want, then add the item like this: