简体   繁体   English

iOS拖放UIPageControl

[英]iOS drag & drop for UIPageControl

Is there a way to implement for iOS a drag and drop behavior for a custom icon located in the first page of a UIPageControl to the second page (like moving icons from iPhone's home screen to a different page)? 是否有一种方法可以为iOS实现位于UIPageControl第一页中的自定义图标到第二页的拖放行为(例如,将图标从iPhone主屏幕移动到另一页)?

Thanks. 谢谢。

UIPageControl is only a controller to display dots to indicate the number of scrollable pages in UIScrollView . UIPageControl只是一个控制器,用于显示点以指示UIScrollView的可滚动页面数。

You need to use UIScrollView and using UIScrollViewDelegate . 您需要使用UIScrollViewUIScrollViewDelegate

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM