I have 2 elements inside a scrollview.
Element 1 gives out 390.0 after finding its y position using frame.origin.y
As for Element 2, I've attempted to place it in the exact same position as Element 1 (y = 390.0) by writing below :
Element2.frame.origin.y = yPosition
Unfortunately, Element 2 moves upwards only slightly (its was originally far below Element 1) ... it doesn't move to the position given by Element 1 yet the frame.origin.y of both elements are now the same. What could be the problem?