SplitView 就像 iPhone 上的 Facebook 应用程序 [英] SplitView like Facebook app on iPhone
问题描述
我想创建一个 iPhone 应用,该应用使用类似于链接中所示的导航场景
I want to create an iPhone app that uses a navigation scene similar to the one pictured in the link
请注意,我不希望这仅适用于 iPad,我希望它完全如图所示适用于 iPhone,当您单击 tableview 项目时,它会隐藏 tableview 并使该视图全屏显示.我想知道如何做到这一点,因为我自己无法弄清楚.
Please note I do not want this to only work for iPad, I want it to work for iPhone exactly as pictured, when you click on a tableview item it hides the tableview and makes that view full screen. I want ideas on how to do this because I cannot figure it out myself.
谢谢
推荐答案
Facebook 人员在新版本的应用程序中做得非常出色.类似的开源代码可以从这里找到 - JTRevealSidebarDemo.请注意,截至 2014 年 6 月,该项目已停止,因此您可能会在下面列表中的项目中获得更好的运气.
Facebook guys have done brilliant job in the new version of the app. The similar open source code can be found from here - JTRevealSidebarDemo. Please note that as of June 2014, this project has been discontinued, so you'll probably have better luck with a project from the list below.
它揭示了为 iPhone 进行拆分视图背后的技术.
It reveals technique behind doing split view for iPhone.
其他一些开源代码:
- JWSlideMenu
- DDMenuController
- PKRevealController
- ViewDeck
- ECSlidingViewController
- MWFSlideNavigationViewController
- MFSideMenu
- SASlideMenu
- HHTabListController
- MTSlideViewController
- MTStackViewController
- MMDrawerController
- DMSideMenuController
- JVFloatingDrawer
这篇关于SplitView 就像 iPhone 上的 Facebook 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!