Integrating Leadbolt Ads on iPhone

I am trying to integrate Leadbolt advertisements into my iPhone application. I downloaded the Leadbolt iPhone SDK and followed the instructions in their pdf file.

As I try to load notifications, I added the following code to the application delegate class.

static LeadboltOverlay *myAdController;
myAdController = [[LeadboltOverlay alloc] init]; 
[myAdController setSectionId:@"YOUR_SECTION_ID"]; 
[myAdController loadNotification];

I get the following error on the third line (setSectionId method).

 Instance method setSectionId not found

I checked their header file and found that it was declared as a static method. But in their documentation, they call it as an instance method.

I am confused and have no idea how to proceed.

I sent them to customer support, but they did not give me any proper solutions.
I am sure that some of you may have encountered the same problem by integrating the Leadbolt SDK.Kindly to provide a solution to this problem ..

:)

+5
1

, setSectionId , .

,

[LeadboltOverlay setSectionId:@"YOUR ID"];

[myAdController setSectionId:@"YOUR_SECTION_ID"];

. `

0

All Articles