Reputation: 1957
In my app, I have a UITextView
. When I key in data in the UITextView
, the words are not getting completely filled in the UITextview
. There is a boundary within the UITextView
and the words scroll up as I key in the words. Is there a setting which I am missing in UITextView
. Please let me know. Please find the screenshot below
Upvotes: 0
Views: 230
Reputation: 9337
You can set a frame and a contentSize
as it inherits from the UIScrollView
to make it bigger. I do not have access to IDE right now but something like this should work:
myTextView.frame = CGRectMake(10,10,300,300);//example values
myTextView.contentSize = CGSizeMake(300,300);//example values
but sooner or later you want be able to see the whole text on the screen and you will need to scroll anyway.
You can also change this values while user is typing by using some delegate methods
Upvotes: 1