I have some doubts. I'm using a UITableViewController
, and at bottom it's not giving space for the home indicator. It goes behind the home indicator (refer to the image). If I add any button actions to the last cell
, this will surely cause an error.
Asked
Active
Viewed 370 times
0
-
have you set the bottom space relative to the safe area? – Oxthor Nov 30 '17 at 08:19
-
1as it was UITableViewController we cant set the bottom space right – Sarath Nov 30 '17 at 08:23
-
In TableViewController, When you scroll to last row, your cell content wont' clip with home indicator. – Jack Dec 07 '17 at 05:04
2 Answers
1
Refer this to add programmatically... https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area
0

Muzahid
- 5,072
- 2
- 24
- 42
-
1This your answer resolve the issue when we use any UIView or UITableView. but in my case im using UITableViewController. I cant give any constraints to it. – Sarath Nov 30 '17 at 09:16