On Jul 26, 2014, at 20:58 , Luther Baker <[email protected]> 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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]