You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.
hi , your code in the Method - (void)refreshHeight,has a problem. The result of measureHeight is a float value,should not assign to the local var newSizeH which type is NSInteger. It may leads to the result smaller than the textview needs. you can fix it by NSInteger newSizeH = ceilf([self measureHeight]);
The text was updated successfully, but these errors were encountered:
This is a total lifesaver. Sometime between iOS7 and iOS10, I just noticed, after the growing text view expands from one line to multiple, the text on the final line became invisible. This fixes the issue. Thanks @luoqisheng!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi , your code in the Method
- (void)refreshHeight
,has a problem. The result ofmeasureHeight
is a float value,should not assign to the local varnewSizeH
which type is NSInteger. It may leads to the result smaller than the textview needs. you can fix it byNSInteger newSizeH = ceilf([self measureHeight]);
The text was updated successfully, but these errors were encountered: