-1

In iOS7. I am showing a UIAlertView and then we get notification which also show UIAlertView.On clicking UIAlertView my app is creash in iOS7.

it print log

-[AddNotification respondsToSelector:]: message sent to deallocated instance 0x14b53e00
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256

1 Answers1

1

It means your memory is deallocated , if you are used any delegate method on that particular VC remove the delegate option so do this

 - (void)dealloc
{

for example if you are used any tableview or else ...

//if you have any table views these would also need to be set to nil
self.tableView.delegate = nil;
self.tableView.dataSource = nil;
}

Option 2

enable the Instruments please ref this

Community
  • 1
  • 1
Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143