Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Growing down #12

Closed
ohetzendorfer opened this issue Mar 28, 2018 · 4 comments
Closed

Growing down #12

ohetzendorfer opened this issue Mar 28, 2018 · 4 comments
Labels

Comments

@ohetzendorfer
Copy link

Hello :)
Is it possible to let the UITextView growing down and not only up?

In my case I don't want to place the TextView at the bottom of my view. I want to place it at the top of my view and let it growing down.

Maybe the screenshot illustrates my issue better:
issue

Best regards,
Oliver

@ruslanskorb
Copy link
Owner

Hi @omastny!

RSKGrowingTextView does not specify the direction of growing.
To allow it growing down you just need to pin its top to the bottom of another view. In your case, probably, to the top of superview.

Sincerely,
Ruslan

@ohetzendorfer
Copy link
Author

Hi @ruslanskorb,

thank you for the prompt reply!
I already set the constraints to the superview. Like in the Screenshot.
screen shot 2018-03-29 at 07 54 16

@ruslanskorb
Copy link
Owner

@omastny
RSKGrowingTextView.zip - this is a working example.

@ohetzendorfer
Copy link
Author

@ruslanskorb
The issue appears because the Class-Module wasn't set to "RSKGrowingTextView" and so it doesn't initialized the RSKGrowingTextView.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants