Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 UIView。我需要将该视图从上到下和从下到上移动,例如“像 iPhone 的通知中心这样的可拉视图”。我怎样才能做到这一点 ?是否可以使用 UIPanGestureRecognizer?