0

I an making an extremely simple scrollview and doing it entirely in Interface Builder and cannot get it working.

According to IB the height of my ScrollView is 568. I have set a user defined runtime attribute called contentSize and set it at 320x900. Yet it simply will not scroll.

enter image description here

Here's a screenshot of my view:

enter image description here

If it was working, the word label should be bouncing all around, am I correct? Nothing happens at all. This is done entirely in IB I haven't touched code yet for this.

1 Answers1

1

You need to uncheck the AutoLayout property in IB You can refer this.

Community
  • 1
  • 1
Prasad Devadiga
  • 2,573
  • 20
  • 43
  • 1
    +1 However, cocoa auto layout really isn't that bad. In fact, it should be used whenever possible. A better solution would be to set up the correct constraints in either IB or in code. – JustSid Sep 02 '13 at 04:28