Hans Pinckaers
Hans Pinckaers
Hi @jacksonpan I saw that problem too. The problem is in drawRect from internalTextView.
Yes. Instead of: ``` objc [placeholder drawInRect:CGRectMake(8.0f, 8.0f, self.frame.size.width - 16.0f, self.frame.size.height - 16.0f) withFont:self.font] ``` in https://github.com/HansPinckaers/GrowingTextView/blob/master/class/HPTextViewInternal.m#L106 Try: ``` objc [placeholder drawInRect:CGRectMake(8.0f, 8.0f, self.frame.size.width - 16.0f, self.frame.size.height - 16.0f)...
if minLines and maxLines are the same it won't grow right?
Looks very cool, however what happens if you want to compile this on base sdk 6?
Yes, you can change the code in the example to _not_ reposition the textview. It should grow downwards.
Did you try the solution in the SO post?
@raladdin If that works reliably could you make a pull req?
I should uncomment that line..
I should uncomment that line..
What goes wrong with storyboard?