I successfully implemented this tutorial in my app but when I slide more than the position of the bottom view, you can see a white line. I want to implement a maximum position of the topLayer (like in Facebook, you can't slide more).
How can I do that? here is my code of the .m file:
http://img705.imageshack.us/img705/9153/screenshot20121209at084.png