I have a uitextview with more text that can fit in the view. I enabled "scrolling enabled" on the textview, however the scrollview does not scroll.
Here is how I populate the textview in viewDidLoad
:
PFQuery *query = [MyObject query];
[query whereKey:@"cycleNumber" equalTo:_cycleNumber];
[query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
if([objects count] > 0){
NSString *description = objects[0];
_lessonDescriptionTextView.text = description;
}
}];
How can I make the textview scroll to show all content?
user interaction needs to be enabled! That was the problem
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.