NFC not working the second time

I am having a lot of trouble getting NFC to work a second time. The first time using it to read works just fine, but the second time I try it gives me errors about the delegate method not being found. The exact error is this:

[CoreNFC] 00000002 8093c3f0 -[NFCTagReaderSession didDetectTags:connectedTagIndex:]:141 Delegate does not implement -tagReaderSession:didDetectTags: method

I know that the delegate is set because it is calling the same code. I do invalidate the session after reading. I have stepped through the code and made sure that line is called.

Does anyone have any suggestions?

I figured this out. It was due to some third party software that I was using for talking with NFC. It expected me to keep a reference to its object.

NFC not working the second time
 
 
Q