VoiceOver Crashes my App

I’m working on a small app and I loaded it into my iPhone to perform my due diligence with VoiceOver testing. It was there I discovered that my app actually crashes!

Only when using VoiceOver.

Hmm. Shit.

Turns out it’s only when using UITableView’s new dequeueReusableCellWithIdentifier:forIndexPath: with pre-registered classes. Somehow, VoiceOver is interfering with this process and calling this method will crash your app when VoiceOver is turned on.

For the mean time, avoid the new table view methods. Fall back to the old “try to dequeue, create if nil” approach.

Golf clap, Apple. Golf. Clap.


Posted on January 26, 2013