cant scroll the scrolview?
Posted
by Abhi_Iphone_Blackberry
on Stack Overflow
See other posts from Stack Overflow
or by Abhi_Iphone_Blackberry
Published on 2010-03-08T04:10:30Z
Indexed on
2010/03/08
4:21 UTC
Read the original article
Hit count: 267
iphone-sdk-3.0
I have a problem with my UIScrollView
. It's visible but I can't scroll it.
CGRect frame = CGRectMake(20, 90,280,1000);
scroll1=[[UIScrollView alloc]initWithFrame:frame];
scroll1.contentSize = CGSizeMake(280,1000);
scroll1.backgroundColor=[UIColor grayColor];
//scroll1.delegate=scroll1;
[scroll1 setUserInteractionEnabled:TRUE];
[scroll1 setPagingEnabled:TRUE];
[scroll1 setScrollEnabled:TRUE];
[scroll1 showsVerticalScrollIndicator];
Thanks in advance.
© Stack Overflow or respective owner