I am having view this comes from push view controller through navigation.this view has scroll view,when i run the project view is not scrolling.how do i make it scroll.
A:
Did you set the content size of the scroll view? Set it to the size of what the scroll view contains.
Rob Lourens
2010-06-01 05:55:00
yeh,i already defined content size with height=650 and width =320.
xcodemaddy
2010-06-01 06:30:58
+1
A:
You need to set content size for that view.
scrollView.contentSize = CGSizeMake(scrollView.frame.size.width,TOTAL_HEIGHT_TO_DISPLAY_CONTENT);
Hope this helps.
Jim.
Jim
2010-06-01 06:00:41
just for testing purpose set TOTAL_HEIGHT_TO_DISPLAY_CONTENT to 500.It will work.but later on you will have to set TOTAL_HEIGHT_TO_DISPLAY_CONTENT as per content you are displaying.
Jim
2010-06-01 06:02:42