Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
THT-Team
THT-iOS_old
Repository navigation
Code
Issues
3
(3)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
PR Convention Example
Jump to bottom
Will edited this page
Jul 28, 2023
·
1 revision
Motivation ⍰
AdMob 광고 뷰 구현
SPM 및 Pod으로 팩키지 추가
GoogleService-Info.plist파일 추가
info.plist파일에 AdMob App ID 추가 및 SKAdNetworkItems 추가
AppDelegate에서 Firebase 및 GADMobileAds 설정 코드 추가
SelectTypeView에서 광고 적재
RecommandOrNotView에서 버튼 클릭 시, 광고 띄우기
UIApplication 확장으로 첫 번째 window 가져오기
아이폰 크기로만 지원되도록 수정
런치 스크린에 필요없는 코드 삭제
질문 좋아요 선택 화면에서 버튼 클릭 시, 전면광고가 나타나도록 구현
그 이유는 현재 띄워져 있는 뷰에서 전면광고가 나타나면 NavigationView(화면전환)이 동작 하지 않음.
광고가 사라진 것을 확인하기 위한 isDismiss @Published 변수 구현
isDismiss가 true이면 다시 질문 스코어 뷰의 id를 갱신
마지막 화면 뒤로가기 없앰
런치 스크린 없앰
Key Changes 🔑
전면광고 클래스 구현을 통해서 전면광고를 띄우기 위한 AdMob Unit ID, Request를 설정해서 전면광고를 적재하는 load()함수, 전면광고를 띄우는 show()함수 구현.
GADFullScreenContentDelegate 델리게이트를 통해서 현재 전면광고가 현재 띄워짐, 사라짐, 에러를 콜백
앱이 시작됐을 때 AppDelegate에서 Firebase와 GADMobileAds 설정. 이는 GMA 설정 및 네트워크 연결에 따른 콜백을 하기 위함.
To Reviewers 🙏🏻
질문 좋아요 화면에서 좋아요 또는 싫어요 또는 스킵 버튼 클릭 시, 전면광고가 정상적으로 띄워지는지 확인해주세요
대중픽 뷰가 띄워졌을 때, 애니메이션이 잘 작동하는지 확인해주세요.
리플레이를 했을 때도 동일하게 동작하는지 확인해주세요.
Linked Issue 🔗
#58
Wiki pages
Pages
3
Loading
Commit Message Convention
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PR Convention
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PR Convention Example
Motivation ⍰
Key Changes 🔑
To Reviewers 🙏🏻
Linked Issue 🔗
Clone this wiki locally
You can’t perform that action at this time.