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.
Wednesday, March 23, 2016
Progress on Replacing iAds with Admob
Subscribe to: Post Comments (Atom)
I'm not sure where I heard this, and it wasn't worded this way, but it helps to think about coding this way. Basically, any progra...
I continued working on my 2d project today. I was able to get some other npc characters to animate. I added one of the pre-made killzone o...
A few days ago I read about the trolley problem. It was mentioned in an smbc-comics.com comic. I hadn't heard of this before, but I ha...
For a few weeks now I have been using the Brave browser. It is based on Chromium , so switching from Chrome was a quick adjustment since ...
Post a Comment