Slide in menu via offscreen tableview?

Hi,


Context: The following is for iPhone only and I don't have to worry about the device rotating. In old terms, it's portrait mode only. iPhone 4s, 5... to iPhone 6+. iOS 7 and iOS 8.


Similar to a master / detail relationship... If I want to have a slide in option list menu that does not completely cover the screen, but only comes in from the right about half way, is that best achieved using a table view subview that is out of sight and just animate it into place as needed?


It's just like the LookInside project sample code associated with the WWDC 2014 video titled "A Look Inside Presentation Controllers". ( pg 122 of the PDF slides from that talk shows the idea too. )


I was going to go the route of a UIPresentationController but we support iOS 7 and more importantly it's portrait and iPhone only. So, we don't need the flexibility now are in the foreseeable future.


Thanks!

Answered by junkpile in 20787022

I don't know if it's the best way or not, but in my main app I do have a slide in UIView I just animate in from offscreen. It was pretty straightforward (except for gesture interactions with the MKMapView it's on top of, but that's another story).


I'm in the same boat with iOS 7 support.

Accepted Answer

I don't know if it's the best way or not, but in my main app I do have a slide in UIView I just animate in from offscreen. It was pretty straightforward (except for gesture interactions with the MKMapView it's on top of, but that's another story).


I'm in the same boat with iOS 7 support.

Slide in menu via offscreen tableview?
 
 
Q