Question

I have a view controller embed into a container view in iOS Xcode project. When I put a button at the bottom of this view controller it will not display in the container that is showing the view. My work around is right now is I added a scroll view. However I would like to get it to work without a scroll view (If possible).

Was it helpful?

Solution

Your button is not showing up indicates that the height of your view controller' view is greater than the display area for your view controller' view on the container view. Adjust your height to match the display height.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top