简体   繁体   中英

Container view cut off in xcode

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).

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM