title: UIScrollView not scrolling in ios6
body: <p>In my <code>UIViewController</code> I have a <code>UIScrollView</code> and <code>UIView</code>. These are two different view, means <code>UIView</code> is not inside <code>UIScrollView</code>. I have different view on scrollview that i am setting programmatically and increasing <code>contentSize</code>. And this <code>UIView</code> is hidden, i am showing is sometimes. The problem is that when i hide this <code>UIView</code>, that <code>UIScrollView</code> stops scrolling.</p>
  
  <p>Why this happening?</p>
  
  <p>I have set all leading edges to superview of both. Does it matter?
  Please guide me.</p>
  
  <p>Hi all, I am sharing the image of my <code>ViewController Scene</code><img src="https://i.stack.imgur.com/AbdcN.png" alt="enter image description here"></p>
  
  <p>I am using auto layout (iOS6). <code>Scroll View ContentSize</code> is (768,1400) which i am setting in <code>ViewDidAppear</code>. The <code>View</code> below <code>Scroll View</code> is hidden and <code>Scroll View</code> is scrolling without any problem.</p>
  
  <p>Now if i show and hide the <code>View</code>, the <code>Scroll View</code> locks, its not scrollable now.
  That is problem i am facing.
  I am not doing anything in code more than setting content size.
  If you need any other information, please tell me.</p>