Skip to content

Commit 9735158

Browse files
authored
specify new delegates on fullscreen lifecycle
1 parent 96cdaa5 commit 9735158

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ extension <#YOURViewController#>: TeadsAdDelegate {
172172
<#your view height#> = 0
173173
}
174174

175-
func didCloseAd(ad: TeadsAd) {
175+
func didClose(ad: TeadsAd) {
176176
//here you should hide your ad view
177177
<#your view height#> = 0
178178
}
@@ -185,6 +185,14 @@ extension <#YOURViewController#>: TeadsAdDelegate {
185185
//you may want to use this callback for your own analytics
186186
}
187187

188+
func didExpandedToFullscreen(ad: TeadsAd) {
189+
//you may want to use this callback for your own analytics
190+
}
191+
192+
func didCollapsedFromFullscreen(ad: TeadsAd) {
193+
//you may want to use this callback for your own analytics
194+
}
195+
188196
}
189197
```
190198

0 commit comments

Comments
 (0)