How to Debug iOS 5-Only Problems

January 21, 2012 — 2 Comments
Become a detective to debug iOS calls

For detective work, you need the right tools

Here’s the scenario: A bug is reported. But the bug occurs only on iOS 5. On earlier versions, everything’s a-okay.

Has this happened to you? I’ve dealt with it a couple of times. You can stare at the code as hard as you want, and come up with various theories. But you won’t get far that way. Why? Because on iOS 4, everything works. You won’t find any glaring errors.

So how do you debug iOS-specific problems? What you need is a diagnostic tool. Over on the iPhone Application Development blog, I describe a method that’s helped me crack tough problems. See iOS 5 Bug! How to Track It Down.

Photo by andercismo (license)

Jon Reid

Posts Twitter Facebook Google+

I'm passionate about not just improving our code, but improving the way we code.

2 responses to How to Debug iOS 5-Only Problems

  1. Great link. Was just thinking about what to do should any of the existing templates change in the future. Thanks.

    - Herman

Leave a Reply

*

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 

Have you Subscribed yet? Don't miss a post!