This works for me in iOS7.
-(void) scrollToBottom {
[textView scrollRangeToVisible:NSMakeRange([textView.text length], 0)];
[textView setScrollEnabled:NO];
[textView setScrollEnabled:YES];
}
More Related Contents:
- iOS7 UITextView contentsize.height alternative
- iOS 7 — navigationController is setting the contentInset and ContentOffset of my UIScrollView
- automaticallyAdjustsScrollViewInsets not working
- UITextView link detection in iOS 7
- UITextViews in a UITableView link detection bug in iOS 7
- iOS 7.1 UITextView still not scrolling to cursor/caret after new line
- get UITextField Tag in Custom Methods
- Will iOS launch my app into the background if it was force-quit by the user?
- @import vs #import – iOS 7
- How to change Navigation Bar color in iOS 7?
- How can I mimic the bottom sheet from the Maps app?
- Add placeholder text inside UITextView in Swift?
- How to add objects to a UIScrollView that extend beyond UIView from Storyboard?
- How to embed small icon in UILabel
- Drawing Route Between Two Places on GMSMapView in iOS
- iOS 7 TableView like in Settings App on iPad
- Cannot install Alamofire in new Xcode Project. “No Such module Alamofire”
- How to draw a transparent UIToolbar or UINavigationBar in iOS7
- How to add subview inside UIAlertView for iOS 7?
- Get the right color in iOS7 translucent navigation bar
- How to prevent UINavigationBar from covering top of view in iOS 7?
- Large Text Being Cut Off in UITextView That is Inside UIScrollView
- How to use a custom font with dynamic text sizes in iOS7
- how to resize an image or done as a NSAttributedString NSTextAttachment (or set its initital size)
- Xcode 5 & Asset Catalog: How to reference the LaunchImage?
- After upgrading to Xcode 11.2 from Xcode 11.1, app crashes due to _UITextLayoutView
- IOS: add imageview in a scrollview to have zoom
- Setting constraints programmatically
- UITextField text disappears on every other keystroke
- Dynamically getting height of UILabel according to Text return different Value for iOS 7.0 and iOS 6.1