AdropPopupAd

class AdropPopupAd: NSObject

Popup ad class๋Š” ํŒ์—… ๊ด‘๊ณ ๋ฅผ ์š”์ฒญํ•˜๊ณ  ์‚ฌ์šฉ์ž์—๊ฒŒ ๋…ธ์ถœํ•ฉ๋‹ˆ๋‹ค.


Public constructors

init

init(unitId: String)

์œ ๋‹› ID๋ฅผ ํ•„์ˆ˜๋กœ ์ž…๋ ฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.


Public functions

fun load()

fun load()

AdropPopupAd์˜ ๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Adrop์—์„œ ๊ด‘๊ณ ๋ฅผ ์š”์ฒญํ•ฉ๋‹ˆ๋‹ค.

fun show(fromRootViewController)

fun show(fromRootViewController: UIViewController)

AdropPopupAd์˜ ๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Adrop์˜ ๊ด‘๊ณ ๋ฅผ ๋…ธ์ถœํ•ฉ๋‹ˆ๋‹ค.

show๊ฐ€ ํ˜ธ์ถœ๋˜๊ธฐ ์ „์— ์™„์ „ํžˆ ๋กœ๋“œ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.


Public properties

delegate

var delegate: AdropPopupAdDelegate?

์ด ์†์„ฑ์— AdropPopupAdDelegate๋ฅผ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.

unitId

var unitId: String

AdropPopupAd์˜ ๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค.

isLoaded

var isLoaded: Bool

๊ด‘๊ณ ๊ฐ€ ์™„์ „ํžˆ ๋กœ๋“œ๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

closeTextColor

var closeTextColor: UIColor?

"๋‹ซ๊ธฐ" ๋ฒ„ํŠผ์˜ ๊ธ€์ž์ƒ‰์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

hideForTodayTextColor

var hideForTodayTextColor: UIColor?

"์˜ค๋Š˜ ๊ทธ๋งŒ ๋ณด๊ธฐ" ๋ฒ„ํŠผ์˜ ๊ธ€์ž์ƒ‰์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

backgroundColor

var backgroundColor: UIColor?

๋ฒ„ํŠผ ์˜์—ญ์˜ ๋ฐฐ๊ฒฝ์ƒ‰์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Last updated