question

Izzy avatar image
Izzy asked ·

1 banner for all my view controllers ?

is it possible to have one single banner that I can use across all my view controllers ? so I don't have to create a new one for every view controller

mobile ads
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered ·

Hi Izzy,

I haven't tried that, but I believe it should be possible. Create your banner, load it, store its reference globally, optionally show it in one view, then before switching to a different view, hide the banner, and then in that new view use the global reference to show it again.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.