forked from organicmaps/organicmaps
[iphonex] [ios] Fixed banner background.
This commit is contained in:
parent
d560c8661a
commit
a083d22f4f
2 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue