I notice that there are two types of nfc session:
- "NFCTagReaderSession" this session in order to get tag's basic info like uid/type which call back function is
tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag])
- "NFCNDEFReaderSession" this session in order to get ndef message in tag which call back function is
readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage])
My problem:
How can i get tag's basic info and tag's ndef message(if it exists) simultaneously in one session or in one callback function.