As I want to display number of menus on a left side of a screen just like following-it is a new Facebook application.when you click on bar shown as a red square around it,the list view on a left side comes into picture after sliding a right part in my application is there any sdk is available to add this.Please help me.
So when the sidebar button is tapped, it’ll call the revealToggle: method to display the sidebar menu. Lastly, we also add a gesture recognizer. Not only you can use the list button to bring out the sidebar menu, user can swipe the content area to activate the sidebar. Try to compile and run the app in the iPhone simulator.
The idea of the feature is to help people be able to reach and tap items on the top half of the screen when using the iPhone with one hand. Double-tap the home button and the screen contents slide down halfway; double-tap the home button again and the contents slide back up.
Not only you can use the list button to bring out the sidebar menu, user can swipe the content area to activate the sidebar. Try to compile and run the app in the iPhone simulator. Tap the list button and the sidebar menu should appear. Tap the button again to close it.
Or you can touch and hold the Multitasking button, then drag the app to the left or right edge of the screen. To hide a Slide Over app, touch and hold the Multitasking button , then swipe the app off the screen to the left or right. To see the other apps that you have in Split View, touch and hold the bottom edge of the app, then drag up.
Just have a look
https://github.com/BenHall/ios_facebook_style_navigation
you will find many ways to do that. Select anyone as per your need.
Facebook guys have done brilliant job in the new version of the app. The similar open source code can be found from here -
It reveals technique behind doing split view for iPhone.
Edit: Few other open source codes:
Source 1
Source 2
Source 3
Source 4
Source 5
Source 6
Source 7
Source 8
Source 9
Source 10
Source 11
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With