To create a UITextView
inside UIScrollView
using Auto Layout in Swift, follow the steps below:
UIScrollView
and add it to the view hierarchy.main.swift60 chars3 lines
UIScrollView
and set its constraints to fill the view.main.swift365 chars8 lines
UITextView
and add it to the UIScrollView
.main.swift60 chars3 lines
UITextView
and set its constraints:UIScrollView
equals to 0
.main.swift458 chars9 lines
Now you have a UITextView
inside UIScrollView
with Auto Layout.
gistlibby LogSnag