[iphonex] [ios] Fixed banner background.

This commit is contained in:
Ilya Grechuhin 2018-01-10 16:34:14 +03:00 committed by Roman Kuznetsov
parent d560c8661a
commit a083d22f4f
2 changed files with 3 additions and 2 deletions

View file

@ -134,6 +134,7 @@ final class AdBanner: UITableViewCell {
case let ad as GoogleNativeBanner: configGoogleNativeBanner(ad: ad)
default: assert(false)
}
backgroundColor = UIColor.bannerBackground()
}
@objc func highlightButton() {

View file

@ -19,7 +19,7 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="109.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f76-qn-ne4">
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f76-qn-ne4">
<rect key="frame" x="0.0" y="0.0" width="375" height="109.5"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="EuF-Rm-DHQ">
@ -158,7 +158,7 @@
<constraint firstItem="So8-wM-Cgz" firstAttribute="trailing" secondItem="zWu-Gh-Vf7" secondAttribute="trailing" constant="2" id="zGz-Sf-G1b"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ucm-4E-iB7">
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ucm-4E-iB7">
<rect key="frame" x="12" y="0.0" width="351" height="109.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>