title: UIScrollView doesn’t seem to work in xcode 6 (iOS 8)
body: <p>I’m trying to make a scroll view in xcode. I used the following code in xcode 5 (which worked):</p>
  
  <p>view.h:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @interface ViewController : UIViewController {
  
  IBOutlet UIScrollView *ScrollView;
  }
  
  
  @end
  </code></pre>
  
  <p>view.m </p>
  
  <pre><code>@interface ViewController ()
  
  @end
  
  @implementation ViewController
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  
      [ScrollView setScrollEnabled:YES];
      [ScrollView setContentSize:CGSizeMake(320, 1005)];
  
  
  
  }
  
  - (void)didReceiveMemoryWarning {
      [super didReceiveMemoryWarning];
      // Dispose of any resources that can be recreated.
  }
  
  @end
  </code></pre>
  
  <p>I have seen others with this problem but none of their solutions worked for me. Note that i have size set to freedom and auto layout is turned off. </p>