Posts Tagged ‘iPhone’

January 7th, 2011, by alex

Releasing an iPhone game: Whack-a-Kitty three weeks later

I released my first iPhone game, Whack-a-Kitty, on Dec. 20, almost 3 weeks ago. People have been asking how it went, so here are some numbers and first impressions.
First, if you missed it the first time, here’s a neat timelapse video of the game being made:

And a shameless plug for a friend: if [...]

December 20th, 2010, by alex

Whack-a-Kitty is finally out!

It feels like I’ve been working on this game forever, but it’s actually only been 3 months - a lot of it evenings and weekends. The game itself has been done for a while, but it’s been stuck in the approval queue for about 3 weeks. I’ve also been struggling with making [...]

September 23rd, 2009, by alex

How to get the contents of UIWebView on iPhone

Say you have a UIWebView in your iPhone application, maybe you have some JavaScript that changes its content, for whatever reason you want to access the content of the UIWebView… how do you do it?
It’s not immediately obvious from the API docs, but it’s pretty simple. Something like this should do the trick:

[myWebView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"]

Doesn’t [...]