I'm currently trying to create an iOS version of an application I previously made for Android. In the Android version, I had a LinearLayout where I could just throw in any additional layouts I needed (one of which was a RecyclerView for showing data that the user added on that particular page via a dialog), and it just worked fine. I'm now trying to replicate this on iOS with some difficulty.
Things I have tried so far: Scroll View > Stack View > dynamic Table view inside the stack view to show the user added data - so far every attempt to do this has failed - it's as if Xcode does whatever the hell it wants instead of what I'm asking it to do. Randomly assigned heights and widths in 5 figures are not uncommon. I can get content displayed, but it flat out refuses to scroll. I have made sure I have set the scrollview top, bottom leading and trailing to the superview as numerous tutorials I have seen have instructed me to do, and that the stack view also has a constraint for equal widths to the scroll view and yet still nothing.
Static Table View > dynamic Table View in one of the static cells - The issue here is that I do not want the dynamic table to be scrollable, I want this to be the height of any content in it, so if there is no content I basically want this not to exist, if there's 1 row I want it to show the 1 row, if there are 3 rows I want this to show all 3 rows without a separate scrolling action to the one in the outer table view.
Basically, I'm after one long scrollable screen, with UI elements (ideally in either a static table view or just any sort of view where I can get them to display at this point!) both above and below the dynamic table view, and the length of the dynamic table view exactly fits the content added to it. Can anything like this be done in iOS at all?
EDIT: Please find attached a picture of the Android side UI I am trying to emulate. The RecyclerView is between the third party details button and the three camera buttons.