This seems so dumb, but I checked all the boxes that I have found as "solutions" to similar problems but nothing is quite working. I have a UITextView box that I want to be scrollable, and my settings are below. Anyone know why it isn't letting me scroll?
if you always want it to bounce, just check the "Always bounce...", it isn't scrollable but you can move it in each direction.
Basic Swift Code for iOS Apps To create a scrollable TextView in iOS we can do it in two ways, one by creating it using the storyboard and other by creating another textView programmatically. A text view is scrollable by default if it has text more than the height of textView and the scrollable property is disabled.
We can make the text scrollable in flutter using these 2 widgets: Expanded Class: A widget that expands a child of a Row, Column, or Flex so that the child fills the available space. SingleChildScrollView Class: A box in which a single widget can be scrolled.
Please also make sure that User Interaction Enabled is checked in .xib file
I also had a problem with an unscrollable UITextView
, but the other answers here didn't help (granted it was a special case: I only needed to scroll when the app was viewed horizontally).
Just in case anyone has a similar problem and lands here: what did help me was to activate vertical Autosizing
(Size Inspector
under View
) for the textview.
Make sure you don't change these settings (or the "Scrolling Enabled" property) in your code.
Good luck !
you have to actually have texts inside the textview that overlap it original frame height to make it scrollable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With