2

Both the Gmail and Facebook apps on the iPhone use a controller I need for my app. They have a button in the upper left bar of the main screen that when pressed, a left panel slides in with a list of items. It kind of looks like a UISplitViewController on the iPad but the root panel slides in and out.

Is this a custom view controller?

WolfpackEE
  • 91
  • 1
  • 5
  • Follow this link, maybe this will be helpful http://stackoverflow.com/questions/8355573/iphone-dev-creating-sliding-drawers-like-path-and-facebook-apps – user2677941 Nov 20 '13 at 06:22

2 Answers2

2

Facebook uses the Three20 API for their special GUI views.

They have an overview on their website where you can see all the views it provides and find what the one you are looking for is called.

EDIT: But this is what you are looking for. More info

EDIT2: Just found this one too.

dimme
  • 4,393
  • 4
  • 31
  • 51
  • That control is actually a subclass of UINavigationController which Apple disallows. I've heard that they can reject your app for that. – MGA Jan 04 '12 at 00:02
  • 1
    The docs only say [This class is not intended for subclassing](http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html). They do not say you cannot subclass `UINavigationController` and I doubt they would reject your app because of it. If you have heard of someone who has then likelihood is they ignored the advice of `don't subclass` and probably made a hash of it causing a failing app. – Paul.s Jan 04 '12 at 00:54
  • @Dimme Facebook built their own. – MGA Jan 04 '12 at 01:46
  • @Paul.s You may very well be right, I just remember reading a thread talking about that a while back. – MGA Jan 04 '12 at 01:50
0

That is not a standard control for iOS however there is a perfectly good class you can download and integrate here: http://cocoacontrols.com/platforms/ios/controls/ddmenucontroller

Lance
  • 8,872
  • 2
  • 36
  • 47
  • So I downloaded and added the DDMenuControllers to my project, however, there are alot of compile errors. My target is iPad, iOS SDK 4.3. Is there something wrong with the source? – WolfpackEE Jan 04 '12 at 17:57
  • 1
    Could be but whenever I run into errors with an external library I usually assume it's my fault and not the library – Lance Jan 06 '12 at 21:27