views:

1720

answers:

2

Hi,

I have my app perfectly working on the simulator and on the iPhone OS 2.2.1 device. But I as well have a device with iPhone OS 3.0 installed. And when I tap on a disclosure button, the accessoryButtonTappedForRowWithIndexPath method is not being called, however color of a disclosure button becomes darker.

Has anyone faced such an issue?

How can I solve this problem?

+1  A: 

The problem is discussed and solved in this thread within the Apple Developer Forums. Given the NDA on the 3.0 beta, I can't say much more than that.

Brad Larson
A: 

Now that OS 3.0 is officially out the door:

The problem is with UITableViewCell's accessoryType property. Use the tableView:accessoryTypeForRowWithIndexPath: delegate method instead, as long as you're targeting both OS 2.x and OS 3.x.

Darren