简体   繁体   中英

Tableview presented modally and autolayout

I have a problem with auto layout when I open a table view which is presented modally, in fact my current situation is the following:

这是我目前的表格视图

I'm developing an app using swift and I'd like to solve this problem with autolayout but currently I can't because it appears to be disabled.

在此输入图像描述

Can somebody help me please? Thanks in advance.

在此屏幕中单击红色虚线以选择要添加的约束(顶部,底部,前导,尾随)

Looks like you have not selected UI Element for which you want to set auto-layout constraint. Please select Label/Textfield and then add constraint as per your requirement. I hope this helps.

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