I have UIViewController
. It has a UIView
with three objects(UILabel
, UIImageView
, UITextView
) inside UIScrollView
. When I try scroll vertical nothing happens. I use autolayout. Before I made it without UIView
inside UIScrollView
but there is an empty space in the bottom.
@IBOutlet weak var scrollView: UIScrollView! {
didSet {
scrollView.delegate = self
scrollView.scrollEnabled = true
self.scrollView.frame.size = scrollView.contentSize //12
}
}