I already tried hours to make it work. I have a UIScrollView with a View in it, the content view. I placed 2 buttons inside of it, 1 button to the left and 1 button way out of my view so I can "scroll" to it. I tried making the scrollview contentsize to small by:
scrollview.contentsize = CGSize(width: 300, height: 300) that did not work, and making it extremely large does not work aswell. It did however worked without the View in it, but I saw in tutorials they recommend to add a different view into it.
The content view is pinned with constrains of 0's to the uiscrollview. However, I needed to add more constrains so I added center X and center Y to the UIScrollView aswell. I am wondering what I am doing wrong and I hope you can help me. I can add more code or pictures if needed. Regardless of this question is asked alot, I can not figure out how to do this very simple task. It did work without the content view. It should be a dynamic UIScrollView,