views:

2474

answers:

7

Hi All

i want to create view like, i have more than 20 icons on top and i want to chose icons with horizontal scroll but i am very much concerned about how to create horizontal scroll view in my application.

i appreciate your time , please help me on this with any examples.

+1  A: 

Just put it in a UIScrollView.

A: 

As isharan said, addSubviews to UIScrollView and setContentSize for UIScrollView.

Denis M
A: 

transform the tableview

Robin
A: 

Hi Alex,

I suppose you need the horizontal scroll as in this following app demo, Sky News App

I am also trying the same, here are my reference, hope this is useful to you,

  1. thread - //stackoverflow.com/questions/822792/how-to-create-a-horizontal-scrolling-view-on-iphone

  2. demo with sample code - //blog.sallarp.com/iphone-sliding-menu/

If I got the solution first, i will give you. If you got it first, pls let me know. :)

Thanks, Raj

techastute
+1  A: 

Guys I did this from scratch: http://locus-delicti.com/files/HScroller.zip

The way it's set up now it takes strings as input and crates UILabels and scrolls those. The scroller has momentum and it bounces off the edges etc.. The problem is that on the device it's quite slow. Anyone got any idea how to make it faster?

Dimitris
A: 

Thank you Dimitris, thanks a lot your example has helped me out greatly.

A: 

Hi All

http://locus-delicti.com/files/HScroller.zip

This link is giving 404 error.Can any one help me with files from some other source.

Or

Can any one send it to this mail id [email protected]

Thanks a lot