简体   繁体   中英

Space on either side of UITableView in iPhone 7 plus simulator

I have a tableview inside of a view in a view controller, and for some reason on the iPhone 7 plus simulator, there are blank margins on either side of it. This doesn't happen for any other simulator, and doesn't happen for TableViewControllers. Is there a way to get rid of this?

在此输入图像描述

I think You were setting autolayout this way shown below in image:

在此输入图像描述

Instead of above, Do your autolayout below way as shown in image:

在此输入图像描述

Hope it helps you,

Thanks

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