views:

107

answers:

1

[[self enclosingScrollView] setHorizontalLineScroll:0];

the above api doesnt works. Help Appreciated...

+2  A: 

It works just fine; you're just trying to use it for something it doesn't do. Read the documentation:

Sets the amount by which the receiver scrolls itself …

The method that sets the scrolling amount does not change where the bars are scrolled to.

How to change where the bars are scrolled to is also covered in the documentation.

Peter Hosey
Yeah, The api might be right, but I think, I have use it for something it doesn't work...might be..
lance