Touch and pull down a view
问题 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 to be entirely shown by drag such as the notificationcenter in the native iOS and not just by taping a button. What should I use to "touch and pull down" the uiview so it could be shown entirely ? 回答1: Make a subclass of UIView . Override touchesBegan:withEvent and touchesMoved:withEvent . In the touchesBegan perhaps make a visual