From 9317f82fb2d4ef48deecc22852b09370c7f42fe9 Mon Sep 17 00:00:00 2001 From: Farshad Mousalou Date: Sat, 26 Sep 2020 07:12:13 +0330 Subject: [PATCH] -Fixed Padding Bug in iOS 12 and later. --- .../Views/Cells/HeadlineSearchTableViewCell.swift | 2 +- .../Views/Cells/HeadlineSearchTableViewCell.xib | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.swift b/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.swift index 6af9bef..d6574e6 100644 --- a/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.swift +++ b/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.swift @@ -35,7 +35,7 @@ class HeadlineSearchTableViewCell: UITableViewCell { backgroundCard?.isInteractable = false backgroundCard?.isSelectable = true backgroundCard?.setShadowElevation(.cardResting, for: .normal) - + backgroundCard?.autoPinEdgesToSuperviewMargins() // Initialization code } diff --git a/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.xib b/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.xib index 3a906ba..e9d5052 100644 --- a/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.xib +++ b/DutchNews/Classes/Views/Cells/HeadlineSearchTableViewCell.xib @@ -17,7 +17,7 @@ - + @@ -85,10 +85,10 @@ - - - - + + + +