title: IOS - How do you get current scrollview position in swift?
body: <p>I have a scrollview in swift which user can scroll up and down freely. When a user scrolls, stops at somewhere and hit a button in the scroll view, how do I know the current position of the scrollview?</p>
  
  <p>To be detailed, I need a </p>
  
  <pre><code>currentPosition: CGPoint
  </code></pre>
  
  <p>such that the scrollview will be exactly the same as it appears when I do</p>
  
  <pre><code>thisScrollView.setContentOffset(currentPosition, animated: false)
  </code></pre>