简体   繁体   English

用手指将图标旋转一圈

[英]Rotate Icons in a circle by finger

I have a project having the home page like the attached image and need to implement the following functionality. 我有一个具有主页的项目,如所附图像,并且需要实现以下功能。

Home Page slides in left to right Functionality of this is the icons rotate in a circle by finger Sliding once user clicks on an icon they will be directed to the page. 主页从左到右滑动功能是图标通过手指旋转一圈。一旦用户单击图标,它们将被定向到页面。

Pls help someone, if you have done such things. 请帮助某人(如果您已这样做)。

Regards CJ 关于CJ

在此处输入图片说明

Following is the Custom UICollectionView Layout may help you to best fit your requirement. 以下是自定义UICollectionView布局,可以帮助您最好地满足您的要求。

在此处输入图片说明

Download the source code and reference from here. 从此处下载源代码和参考。

Take a look at a library called iCarousel by Nick Lockwood. 看看尼克洛克伍德(Nick Lockwood)的名为iCarousel的图书馆。 (Available on Github.) It is very configurable and will give you exactly what you need with very little custom code. (在Github上可用。)它是非常可配置的,并且只需很少的自定义代码即可为您提供所需的确切信息。

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

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