I have a uiview at the top of the interface (below the status bar) that only the bottom part of it is shown.
Actually, I want to make the red uiview to slide down
Refer to my answer in iPhone App: implementation of Drag and drop images in UIView
You just need to use TouchesBegin
and TouchesEnded
methods. In that example, I have shown how to use CGPoint
, Instead of that you have to try to use setFrame
or drawRect
for your view.
As soon as TouchesMoved
method is called you have to use setFrame
or drawRect
(not sure but which ever works, mostly setFrame) also take the height from CGPoint
.