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.
我有一个模态视图控制器,我希望能够通过向下滑动视图来关闭它。如果我没有将它滑到足够低的位置并松开,我希望它能够弹回顶部。我该怎么做呢?