如何创建类似于 iOS facebook 应用程序的侧边栏?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7997440/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to create a sidebar similar to the facebook app for iOS?
提问by hdoria
Possible Duplicate:
What's the best way to develop a sideswipe menu like the one in Facebook's new iOS app?
How can i create a sidebar similar to the facebook app for iOS (iPhone/iPad)? That sidebar that appears when you slide your finger horizontally. There is a component for this or is it just a UIView?
如何为 iOS (iPhone/iPad) 创建类似于 Facebook 应用程序的侧边栏?当您水平滑动手指时出现的侧边栏。有一个组件或者它只是一个 UIView?
回答by Eduardo Scoz
You're in luck! Somebody just created a complete sample app showing how to create that, and includes a video of the effect. Here it is:
你很幸运!有人刚刚创建了一个完整的示例应用程序,展示了如何创建它,并包含一个效果视频。这里是:
回答by MatLecu
There is no already made component to do that given by Apple.
没有已经制作的组件来完成 Apple 提供的功能。
I would say it's just an UIView under the main one that is slided on the right.
我会说它只是在右侧滑动的主要 UIView 下的一个 UIView。