开发者

How to scroll from the middle of the image in the scrollview? [closed]

It's difficult to tell what is being asked here. This quest开发者_开发技巧ion is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

Hi I am new to iphone.

What I did is creating a horizontal scroll view. In the view I am displaying 20 images.

In the scroll view images start from 1 st image. But I need image start from 10 and then it is easy to scroll left and right.

How can I done this?

Please help me. Thank you in advance.


In viewDidLoad, set the scroll view's contentOffset so that it's set at position of the 10th image.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜