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 linesUIScrollView and set its constraints to fill the view.main.swift365 chars8 linesUITextView and add it to the UIScrollView.main.swift60 chars3 linesUITextView and set its constraints:UIScrollView equals to 0.main.swift458 chars9 linesNow you have a UITextView inside UIScrollView with Auto Layout.
gistlibby LogSnag