Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>NO there are no SDK available to do this. you can do this by two way.</p> <ol> <li>By using two UIViewController</li> <li>By using two UIView.</li> </ol> <p>I recommend second one because I have used it and working fine.</p> <p>For first approach you will find some example and demo on github.com.</p> <p>let me give you short idea how I have implemented it by using two UIView.</p> <p>Your all normal content will be in default UIView and slide controls will be on second view.</p> <p>By default normal UIView will be visible and slider UIView be at -x pos something like (-200,0,200,320) set this according to your need.</p> <p>When you click show/hide button it change its frame property so normal UIView slide right side 200 pt and slider UIView come in screen.</p> <p>Let me show u some code to hide/unhide:</p> <pre><code>[UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.5]; view.frame = CGRectMake(250, view.frame.origin.y, view.frame.size.width, view.frame.size.height);; slideView.frame = CGRectMake(0, view.frame.origin.y, 250, view.frame.size.height);; [UIView commitAnimations]; </code></pre> <p>Parameter in CGRectMake can be anything according to what you want.</p> <p>To implement this make a subclass of UIView. and add UITableView if u want look like facebook.</p> <p><strong>Update:</strong></p> <p>While searching some new implementation I found a wonderful job on this concept by one developer. If anyone is thinking to add this feature than you must visit this once : <a href="https://github.com/mutualmobile/MMDrawerController" rel="nofollow">MMDrawerController</a></p> <p>All the best</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload