NSDictionary *resultAttributes = result.feature.attributes;
Could you post the code?
The problem I'm having is that the button on the callout doesn't do anything when pressed, even though I've added in the code for it. I suspect I've missed something along the way.