Hello friends i am very new to ios.
I am setting scroll size in view did load as
scrollView.frame=CGRectMake(0, 0, 320, 460);
[scrollView setContentSize:CGSizeMake(320,500)];
now i want to scroll my frame up on clicking on button.
scrollView.frame=CGRectMake(0,-100, 320,550);
my frame moves up but after this my scroll view is disabled i also tried using scrollview enabled but it also not works.
please suggest me Thanks in advance for your ans.
You set
[scrollView setContentOffset:animated:]instead of settingframeto scroll. RefIn your case, you can probably do