开发者

How to do circular scroll view?

开发者 https://www.devze.com 2023-02-10 04:12 出处:网络
I am doing an application in which i have to show a semi circle on which there should be different options in scroll view. That means on that image o开发者_运维百科f semicircle i have to show scroll i

I am doing an application in which i have to show a semi circle on which there should be different options in scroll view. That means on that image o开发者_运维百科f semicircle i have to show scroll in circular way .

How can i do that??

Can anyone please guide me ?


You mean you'd need to rotate the contents inside the semi-circle like in a "wheel of fortune" kind of way?
I don't think you can do that with a regular UIScrollView, you'd have to handle the touches and do the rotation yourself.
I'd recommend you start by taking a look at the "Touches" code sample from the UIKit docs:
http://developer.apple.com/library/ios/#samplecode/Touches/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007435

0

精彩评论

暂无评论...
验证码 换一张
取 消