get scrollView scrollHeight value

Can I read the value of “scrollHeight” in scrollView?

scrollView.scrollHeight -- returns nil