Coordinates of last element in ScrollView
问题 I have this scroll view with many elements inside for which the height is variable. I want to know if there is a way to know the maxY of the last element in the scrollview, without adding up the height of all the elements in the scrollview. I tried lastViewInScrollView.frame.maxY and it was not right. 回答1: It is totally mathematics, as you said you dont want to add all the element before the last element, thats OK, now work with the end of the scrollview. As per the apple documentation (https