Wednesday, March 23, 2016

Progress on Replacing iAds with Admob

I was able to get the first app working with Admob.  It was like I mentioned in the previous post, I had to create the adunit in code.  I was able to find a simple example on Stack Overflow and mostly just use it as is.  I had to create a header file to go along with the example file that was provided and then call that in my viewDidSomethingSomething function.  I don't have it open right now so I can't remember what that is called.

I had it all in place and everything would build and run, but then I was getting an exception.  It turned out I had messed something up by trying to drag things around in some area of XCode where you can graphically see your app.  I reverted a mainwindow.xib file back to what I had started with and everything started working.

I have to do a little more testing to see how it looks in the different simulators and make sure I have my adunit id correct but then I think it is finished.  Then we just have to submit it and get it re-approved by Apple.  That is always a fun process.

No comments:

Post a Comment

Where Will We Go With AI

 As AI becomes a more powerful coding tool I could see it taking us in two directions.  One would be more and more bad high level code that ...