Re: UIScrollView question
Re: UIScrollView question
- Subject: Re: UIScrollView question
- From: Quincey Morris <email@hidden>
- Date: Sat, 26 Jul 2014 21:09:08 -0700
On Jul 26, 2014, at 20:58 , Luther Baker <email@hidden> wrote:
> I have a pretty good frames based background but I'd like to consider an
> iPhone screen done with AutoLayout on a UIScrollView such that the bottom
> UITextView grows vertically to fill the vertical space remaining from the
> text view to the bottom of the device.
>
> ---- UIScrollView parent ----
>
> [Label]
>
> [TextField]
>
> [Label]
>
> [TextView]
>
> ------------
>
> So basically, without calculating and then setting the height explicitly,
> how should the TextView be directed to vertically grow to fill the lower,
> visible part UIScrollView?
Isn’t the answer to this here:
https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html
(especially the code fragment at the end)?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden