views:

60

answers:

1

Hi everyone,

I created a UIScrollView / UIPageControl .xib scrolling between 12 images. At the bottom of the .xib is a "Submit" button that would save the value of the scroll view in a web service.

How can I get the "submit" button to grab that value?

Thanks in advance!

+1  A: 

The UIScrollView has three properties: contentOffset, contentInset, and the contentSize that define the user's scroll state.

The offset in particular is likely what you what to send to your web service.

NWCoder
That's exactly was I was looking for... thanks so much!
Adam Storr