what to use instead of scrollRangeToVisible in iOS7 or TextKit
问题 In previous versions of iOS, my UITextView will scroll to the bottom using [displayText scrollRangeToVisible:NSMakeRange(0,[displayText.text length])]; or CGFloat topCorrect = displayText.contentSize.height -[displayText bounds].size.height; topCorrect = (topCorrect<0.0?0.0:topCorrect); displayText.contentOffset = (CGPoint){.x=0, .y=topCorrect}; But the former will now have the weird effect of starting at the top of a long length of text and animating the scroll to the bottom each time I