海神


移动滚动条到底端的方法

2011-07-15
CGPoint bottomOffset = CGPointMake(0, [textView contentSize].height - textView.frame.size.height);
if (bottomOffset.y > 0) 
  [textView setContentOffset: bottomOffset animated: YES];

blog comments powered by Disqus