iPhone开发者:创建滑动抽屉,如Path和Facebook应用程序 [英] iPhone dev: Creating sliding drawers like Path and Facebook apps

查看:93
本文介绍了iPhone开发者:创建滑动抽屉,如Path和Facebook应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新的Facebook应用程序似乎已经取消了网格图标布局,并提供了一个更有趣的自定义导航布局,其中最底层的视图显示了所有选项(如Facebook的Profile,News Feed,Messages等等)和点击其中一个带来另一个视图滑过顶部。您可以按3行按钮,然后再次显示底视图,但是当前视图部分可见。路径应用程序也最近更新以匹配此方案。



重新创建这个项目的最佳方法是什么?我搜索了任何开源选项,但没有找到它们。 Three20似乎也不支持这一点。

解决方案

尝试这些可可控件:



JTRevealSidebar http://cocoacontrols.com/platforms/ios/controls/jtrevealsidebar



clcascade http://cocoacontrols.com/platforms/ios/controls/ clcascade



StackScrollView http: //cocoacontrols.com/platforms/ios/controls/stackscrollview



在同一个网站上的更多内容如:
http://cocoacontrols.com/platforms/ios/controls/mfslidingnavigationcontroller
http:// cocoacontro ls.com/platforms/ios/controls/psstackedview


The new Facebook app seem to have done away with the grid-icon layout, with a more interesting custom navigation layout where the bottom-most view shows all the options (like Profile, News Feed, Messages etc for Facebook) and clicking on one of them brings another view sliding over the top. You can press the 3-lines button to then expose the bottom-view again, but the current view is partially visible. The Path app also recently updated to match this scheme.

What's the best way to recreate this? I've searched for any open-source options but haven't found them. Three20 doesn't seem to support this either.

解决方案

Try These from Cocoa Controls:

JTRevealSidebar http://cocoacontrols.com/platforms/ios/controls/jtrevealsidebar

clcascade http://cocoacontrols.com/platforms/ios/controls/clcascade

StackScrollView http://cocoacontrols.com/platforms/ios/controls/stackscrollview

Many more on the same site like: http://cocoacontrols.com/platforms/ios/controls/mfslidingnavigationcontroller http://cocoacontrols.com/platforms/ios/controls/psstackedview

这篇关于iPhone开发者:创建滑动抽屉,如Path和Facebook应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆