简体   繁体   中英

UIView Controller height less than than original Height swift 4

My UIViewcontroller height is less than what is should be. I am getting UIView height as 729. It should be 812. I have added a textview with frame as UIScreen.main.bounds.height-(heightofTextView+10). But it is getting out of view and not clickable.

在此处输入图片说明

尝试将View Controller的高度从固定形式更改为自由形式,然后提供所需的高度

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