I have added UITableViewController
in storyboard
. This UITableView
merges with the home indicator on an iPhoneX
device and on top also cut.
How can I fix this issue?
I have added UITableViewController
in storyboard
. This UITableView
merges with the home indicator on an iPhoneX
device and on top also cut.
How can I fix this issue?
select your main viewController or your main view in storyboard and enable the option safe area layout Guide
use this:
override func viewWillLayoutSubviews() {
super.viewWillLayoutSubviews()
tableView.invalidateIntrinsicContentSize()
}