Apps for iPod/iPhone/Android!



Through the course of making these iPod/iPhone apps, I ran into some tricky code problems that took hours to research on the web. I thought I would post some examples here to save some time if anybody else was looking.

Tools: Here are the tools I use.Tools

I had a class where when I pressed a button, I wanted to insert some text into a text field. The problem is that setting the entire text field to the old text + the new text would cause horrible scrolling, or bouncing. The way around that was to use some undocumented API calls. Not supported, but it worked. Insert Text Into UIWebView
When in a UIWebView, sometimes you want some interaction from the user. You can set it up so that when a user clicks a link, you can respond in your Obj-C code. This code intercepts the URL request and then handles it. Intercept URL in UIWebView


©2009 David Skelly