Banner Ads and SwiftUI, setting Banner height

338 views
Skip to first unread message

Stephen Aldous

unread,
Feb 23, 2023, 2:17:58 PM2/23/23
to Google Mobile Ads SDK Developers
The banner height takes up the full available screen space.

The most common scenario for banner ads is for them to be at the bottom of the screen, but it doesn't work:

VStack(spacing: 0) {

                Spacer()

                BannerView().background(.blue)

            }

Simulator Screen Shot - iPhone 14 Pro Max - 2023-02-23 at 14.17.21.png

Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2023, 3:50:08 AM2/24/23
to stephen...@gmail.com, google-adm...@googlegroups.com

Hello Stephen,

 

Thank you for reaching out to us.

 

Are you still experiencing this issue while using the guide in this developer blog for reference? If yes, kindly send us a sample of your app and Charles Log (See Instructions) where the issue occurs. You can provide the information via reply privately to author option or directly provide it to the link below.

 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002jG5d5QAC&entry.80707362=00168531

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2jG5d5:ref
Reply all
Reply to author
Forward
0 new messages