开发者

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

开发者 https://www.devze.com 2023-01-17 23:42 出处:网络
It's difficult to tell what is being asked here. This quest开发者_开发技巧ion is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
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

精彩评论

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

关注公众号