AdstronomicFramework.framework
folder into the root of your project. And voila!AdstronomicFramework.framework
need to be visible and yellow.ViewController.swift
and add the following include code import AdstronomicFramework
. Inside the viewDidLoad
, you can initalise Adstronomic with this line of code Adstronomic.initialize(campaignId: "CAMPAIGN ID")
and replace CAMPAIGN ID
with your ID available on the dashboard.Adstronomic.loadAdsData()
.