I\'m looking for a way to disable horizontal scrolling of a UITextView programmatically, it was easy via the Interface Builder, but since I\'m designing the view programmati
This should help... UITextView is a subclass of UIScrollView, so this is pretty easy to implement.
UITextView
UIScrollView
mytextView.contentSize = CGSizeMake(mytextView.frame.size.height,mytextView.contentSize.height); mytextView.showsHorizontalScrollIndicator = NO;