I'm testing with a UIScrollView and placed a UILabel inside of it. The point is I'm trying to scroll to the bottom to read the whole UIlabel but as soon as I stop dragging up the scroll view returns down (Rubber band effect) and i'm not able to read the last three lines of text.
scrollView.backgroundColor = [UIColor redColor];
scrollView.contentSize = CGSizeMake(320, 600);
UILabel *lbltestScroll = [[UILabel alloc]initWithFrame:CGRectMake(0,100,320,600)];
lbltestScroll.text =@"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.";
lbltestScroll.lineBreakMode = UILineBreakModeWordWrap;
lbltestScroll.numberOfLines = 0;
[scrollView addSubview:lbltestScroll];
Where is the problem?
Thanks Luca