I am using Xcode 4.3
I have a single screen that has a text view UITextView
that I wish to be able to scroll just vertically.
I have added a scroll to the screen UIScrollview
and a UITextview
on top of that.
I have created a new outlet called theScroller and in the viewcontroller.m
file added the line.
(void)viewdidLoad
{
self.thescroller.contentSize=CGSizeMake(280.0,600.0);
However in most tutorials I have watched, they all add a line before this to set scroller to YES, but in Xcode 4.3 it wont let me. How do I turn the scroller on. what am I doing wrong.?
I am a newbie at this so please keep things simple. thanks