I want to implement a wheel like infinte scrolling Rating tool like the below image.
No i had taken an scrollview and set the orange image in scrollview
- (void)viewWillAppear:(BOOL)animated
{
UIImageView * headerImage = [[UIImageView alloc] init];
headerImage.image = [UIImage imageNamed:@"img_2.png"];
SCrl_Wheel.backgroundColor = [UIColor colorWithPatternImage:headerImage.image];
[SCrl_Wheel setContentSize:CGSizeMake(500,0)];
[SCrl_Wheel setShowsHorizontalScrollIndicator:NO];
Lbl_Rate.text=@"0";
[super viewWillAppear:animated];
}
Apple has an example project featuring infinite scrolling it’s called StreetScroller, which demonstrates how a
UIScrollViewsubclass can scroll infinitely in the horizontal direction.There is also an
UIScrollViewsubclass on Github called BAGPagingScrollView, which is paging & infinite, but it has a few bugs you have to fix on your own, because it’s not under active development (especially the goToPage: method leads to problems).I hope this helps you.
Also check this link for easy implementation they also have a sample code attached 🙂
http://mobiledevelopertips.com/user-interface/creating-circular-and-infinite-uiscrollviews.html