메시지 - 배너 광고 추가

This commit is contained in:
Yu Sung
2023-09-15 16:28:11 +09:00
parent 475882570a
commit a16c38f4ab
4 changed files with 33 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
//
import SwiftUI
import GoogleMobileAds
struct MessageView: View {
@@ -18,6 +19,13 @@ struct MessageView: View {
Tab()
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
.padding(.top, 13.3)
Text("※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.")
.font(.custom(Font.medium.rawValue, size: 13.3))
.padding(.top, 20)