开发者

iPad slidable right hand side

How did they do it? Look at these images:

iPad slidable right hand side

iPad slidable right hand side

As you can see you can slide the right pane开发者_Python百科l to the left and back. Is that UISplitViewController?


That's definitely a custom view/controller. The stock split view is what it is. Although I think Matt Gammell cooked up a replacement split view that let's you drag the split around, it only changes the proportional size or visibility of your two views. It would take some additional customization to give it this kind of look and feel. I don't have the URL handy though, I'm sorry.


I don't know if you still need this, but you can check this open source class called IIViewDeckController available in github - it's exactly what you need. You can set a right and a left view, add shadows, customize tap or slide interactivity.

It contains a example project so you can understand how to program all properties.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜