any one have any idea?
scrollView._view._height
replace scrollView with whatever your scrollView is called. Hope this helps.
hey ksan, thank you for your reply, however this is the same as scrollView.contentHeight (a static value)
print(scrollView.\_view.\_height) print(scrollView.contentHeight)
no matter how many objects i insert into the scrollView, it returns the same value.
I’m sure there has to be a work around, if we’re able to set the scroll height ( scrollView:setScrollHeight() ) but not able to retrieve the scrollHeight value, I think maybe that’s a needed feature?
Did you try scrollView._view._scrollHeight ?
Atanas, you’re a genius! Thank you! That is exactly what i was looking for… they need to add this to documentation.
scrollView._view._height
replace scrollView with whatever your scrollView is called. Hope this helps.
hey ksan, thank you for your reply, however this is the same as scrollView.contentHeight (a static value)
print(scrollView.\_view.\_height) print(scrollView.contentHeight)
no matter how many objects i insert into the scrollView, it returns the same value.
I’m sure there has to be a work around, if we’re able to set the scroll height ( scrollView:setScrollHeight() ) but not able to retrieve the scrollHeight value, I think maybe that’s a needed feature?
Did you try scrollView._view._scrollHeight ?
Atanas, you’re a genius! Thank you! That is exactly what i was looking for… they need to add this to documentation.