Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
THT-Team
/
THT-iOS_old
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
4
Code
Issues
3
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
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.