I have a scrollview with some labels and a UIButton within it.
The problem i’m facing is that the UIButton is staying at the same position,
What i’d like is for the uibutton to follow it’s initial position and always stay in the top-right
even if i scroll the scrollview down.
--------------------------------------
- ---------------
- - uibutton -
- ---------------
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
--------------------------------------
So, how can i programmatically state that the button should always be fixed in the upper-Right position of the CURRENT showed part of the scrollview?
Thanks in advance.
The issue was resolved by having the
UIButtonoutside thescrollview.Done with the following lines…
The button was made using IB.