iOS simulator crash when typing text into UITextField

I just spent hours tearing my app apart trying to figure out why it was crashing whenever I typed text into a UITextField. Turns out it’s an XCode / Simulator bug, and it only occurs for iOS 4.3 and on Lion. The workaround is to either disable auto correction on the UITextField, or disable it in the simulator through the Settings app.

Here’s the Stack Overflow post that finally led me to the solution.


iOS Icon Template for Illustrator

I’ve had the need to calculate iOS icon corner radiuses and insets on several occasions, so I thought I’d create an Illustrator template for them. The template includes icons for iTunes, iPhone (Standard and Retina Display), and iPad, based on the dimensions I found in this stackoverflow question. Each icon has guides representing the corner rounding mask that Apple automatically applies, as well as 15%, 20% and 25% artwork insets within that boundary.

Here’s the template.


iPad Video Playlist Alternative

I recently bought my son the Audio + Video version of They Might Be Giants “Here Comes Science” on iTunes. It includes a video for each song, about 40 minutes in total. When played from iTunes it’s a continuous stream; as one clip finishes the next starts automatically. I was hoping it would work the same way on the iPad, but unfortunately it doesn’t. There it stops after each clip and returns you to the main screen where you have to manually start the next. Not great for a 1 year old.

I found this blog post, which suggests that you workaround this by converting the videos into episodes of a TV season. That seems like it would work, but it’s kind of a pain since it requires you to make the change in iTunes on a computer, then sync the videos back to the iPad.

After a little more searching, I found an iPad app called Video Playlist. It’s not ideal since you have to play the videos from within it rather than the built in Videos app, but it does work. Hopefully Apple will provide native support for this at some point, but in the mean time Video Playlist does the trick.


Filed under: iPad, Technology, Tips