메시지 - 배너 광고 추가

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 VoiceMessageWriteView: View {
@@ -34,6 +35,12 @@ struct VoiceMessageWriteView: View {
VStack {
Spacer()
VStack(spacing: 0) {
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
HStack(spacing: 0) {
Text("음성메시지")
.font(.custom(Font.bold.rawValue, size: 18.3))