CoreNFC iOS 12.4 to 13.0 API Differences
NFCError.h
Added
NFCReaderErrorInvalidParameter
Added
NFCReaderErrorInvalidParameterLength
Added
NFCReaderErrorParameterOutOfBound
Added
NFCReaderTransceiveErrorSessionInvalidated
Added
NFCReaderTransceiveErrorTagNotConnected
Added
NFCNdefReaderSessionErrorTagNotWritable
Added
NFCNdefReaderSessionErrorTagUpdateFailure
Added
NFCNdefReaderSessionErrorTagSizeTooSmall
Added
NFCNdefReaderSessionErrorZeroLengthMessage
Added
NFCTagResponseUnexpectedLengthErrorKey
Modified
NFCErrorDomain
Declaration
From
NSString *const NFCErrorDomain
To
const NSErrorDomain NFCErrorDomain
NFCFeliCaTag.h
Added
NFCFeliCaTag
Added
PollingRequestCode
Added
PollingRequestCodeNoRequest
Added
PollingRequestCodeSystemCode
Added
PollingRequestCodeCommunicationPerformance
Added
PollingTimeSlot
Added
PollingTimeSlotMax1
Added
PollingTimeSlotMax2
Added
PollingTimeSlotMax4
Added
PollingTimeSlotMax8
Added
PollingTimeSlotMax16
Added
EncryptionId
Added
EncryptionIdAES
Added
EncryptionIdAES_DES
Added
NFCFeliCaTag.currentSystemCode
Added
NFCFeliCaTag.currentIDm
Added
-[NFCFeliCaTag pollingWithSystemCode:requestCode:timeSlot:completionHandler:]
Added
-[NFCFeliCaTag requestServiceWithNodeCodeList:completionHandler:]
Added
-[NFCFeliCaTag requestResponseWithCompletionHandler:]
Added
-[NFCFeliCaTag readWithoutEncryptionWithServiceCodeList:blockList:completionHandler:]
Added
-[NFCFeliCaTag writeWithoutEncryptionWithServiceCodeList:blockList:blockData:completionHandler:]
Added
-[NFCFeliCaTag requestSystemCodeWithCompletionHandler:]
Added
-[NFCFeliCaTag requestServiceV2WithNodeCodeList:completionHandler:]
Added
-[NFCFeliCaTag requestSpecificationVersionWithCompletionHandler:]
Added
-[NFCFeliCaTag resetModeWithCompletionHandler:]
Added
-[NFCFeliCaTag sendFeliCaCommandPacket:completionHandler:]
NFCISO7816Tag.h
Added
NFCISO7816APDU
Added
NFCISO7816APDU.instructionClass
Added
NFCISO7816APDU.instructionCode
Added
NFCISO7816APDU.p1Parameter
Added
NFCISO7816APDU.p2Parameter
Added
NFCISO7816APDU.data
Added
NFCISO7816APDU.expectedResponseLength
Added
-[NFCISO7816APDU initWithInstructionClass:instructionCode:p1Parameter:p2Parameter:data:expectedResponseLength:]
Added
-[NFCISO7816APDU initWithData:]
Added
NFCISO7816Tag
Added
NFCISO7816Tag.initialSelectedAID
Added
NFCISO7816Tag.identifier
Added
NFCISO7816Tag.historicalBytes
Added
NFCISO7816Tag.applicationData
Added
NFCISO7816Tag.proprietaryApplicationDataCoding
Added
-[NFCISO7816Tag sendCommandAPDU:completionHandler:]
NFCISO15693ReaderSession.h
Removed
NFCISO15693ReaderSession.readingAvailable
NFCISO15693Tag.h
Added
RequestFlag
Added
RequestFlagDualSubCarriers
Added
RequestFlagHighDataRate
Added
RequestFlagProtocolExtension
Added
RequestFlagSelect
Added
RequestFlagAddress
Added
RequestFlagOption
Added
-[NFCISO15693Tag stayQuietWithCompletionHandler:]
Added
-[NFCISO15693Tag readSingleBlockWithRequestFlags:blockNumber:completionHandler:]
Added
-[NFCISO15693Tag writeSingleBlockWithRequestFlags:blockNumber:dataBlock:completionHandler:]
Added
-[NFCISO15693Tag lockBlockWithRequestFlags:blockNumber:completionHandler:]
Added
-[NFCISO15693Tag readMultipleBlocksWithRequestFlags:blockRange:completionHandler:]
Added
-[NFCISO15693Tag writeMultipleBlocksWithRequestFlags:blockRange:dataBlocks:completionHandler:]
Added
-[NFCISO15693Tag selectWithRequestFlags:completionHandler:]
Added
-[NFCISO15693Tag resetToReadyWithRequestFlags:completionHandler:]
Added
-[NFCISO15693Tag writeAFIWithRequestFlag:afi:completionHandler:]
Added
-[NFCISO15693Tag lockAFIWithRequestFlag:completionHandler:]
Added
-[NFCISO15693Tag writeDSFIDWithRequestFlag:dsfid:completionHandler:]
Added
-[NFCISO15693Tag lockDFSIDWithRequestFlag:completionHandler:]
Added
-[NFCISO15693Tag getSystemInfoWithRequestFlag:completionHandler:]
Added
-[NFCISO15693Tag getMultipleBlockSecurityStatusWithRequestFlag:blockRange:completionHandler:]
Added
-[NFCISO15693Tag customCommandWithRequestFlag:customCommandCode:customRequestParameters:completionHandler:]
Added
-[NFCISO15693Tag extendedReadSingleBlockWithRequestFlags:blockNumber:completionHandler:]
Added
-[NFCISO15693Tag extendedWriteSingleBlockWithRequestFlags:blockNumber:dataBlock:completionHandler:]
Added
-[NFCISO15693Tag extendedLockBlockWithRequestFlags:blockNumber:completionHandler:]
Added
-[NFCISO15693Tag extendedReadMultipleBlocksWithRequestFlags:blockRange:completionHandler:]
Modified
NFCISO15693Tag
Protocols
From
NFCTag
To
NFCNDEFTag, NFCTag
NFCMiFareTag.h
Added
NFCMiFareFamily
Added
NFCMiFareUnknown
Added
NFCMiFareUltralight
Added
NFCMiFarePlus
Added
NFCMiFareDESFire
Added
NFCMiFareTag
Added
NFCMiFareTag.mifareFamily
Added
NFCMiFareTag.identifier
Added
NFCMiFareTag.historicalBytes
Added
-[NFCMiFareTag sendMiFareCommand:completionHandler:]
Added
-[NFCMiFareTag sendMiFareISO7816Command:completionHandler:]
NFCNDEFMessage.h
Added
NFCNDEFMessage.length
Added
-[NFCNDEFMessage initWithNDEFRecords:]
Added
+[NFCNDEFMessage ndefMessageWithData:]
NFCNDEFPayload.h
Added
-[NFCNDEFPayload initWithFormat:type:identifier:payload:]
Added
-[NFCNDEFPayload initWithFormat:type:identifier:payload:chunkSize:]
Added
+[NFCNDEFPayload wellKnownTypeURIPayloadWithString:]
Added
+[NFCNDEFPayload wellKnownTypeURIPayloadWithURL:]
Added
+[NFCNDEFPayload wellKnownTypeTextPayloadWithString:locale:]
Added
+[NFCNDEFPayload wellKnowTypeTextPayloadWithString:locale:]
Added
-[NFCNDEFPayload wellKnownTypeURIPayload]
Added
-[NFCNDEFPayload wellKnownTypeTextPayloadWithLocale:]
NFCNDEFReaderSession.h
Removed
NFCNDEFReaderSession.readingAvailable
Added
-[NFCNDEFReaderSessionDelegate readerSession:didDetectTags:]
Added
-[NFCNDEFReaderSessionDelegate readerSessionDidBecomeActive:]
Added
-[NFCNDEFReaderSession restartPolling]
Added
-[NFCNDEFReaderSession connectToTag:completionHandler:]
NFCNDEFTag.h
Added
NFCNDEFStatus
Added
NFCNDEFStatusNotSupported
Added
NFCNDEFStatusReadWrite
Added
NFCNDEFStatusReadOnly
Added
NFCNDEFTag
Added
NFCNDEFTag.available
Added
-[NFCNDEFTag queryNDEFStatusWithCompletionHandler:]
Added
-[NFCNDEFTag readNDEFWithCompletionHandler:]
Added
-[NFCNDEFTag writeNDEF:completionHandler:]
Added
-[NFCNDEFTag writeLockWithCompletionHandler:]
NFCReaderSession.h
Added
-[NFCReaderSession invalidateSessionWithErrorMessage:]
Added
NFCReaderSession.readingAvailable
Modified
-[NFCReaderSessionDelegate readerSession:didDetectTags:]
Optional
From
Required
To
Optional
NFCTag.h
Added
NFCTagTypeFeliCa
Added
NFCTagTypeISO7816Compatible
Added
NFCTagTypeMiFare
Added
-[NFCTag asNFCISO15693Tag]
Added
-[NFCTag asNFCISO7816Tag]
Added
-[NFCTag asNFCFeliCaTag]
Added
-[NFCTag asNFCMiFareTag]
NFCTagReaderSession.h
Added
NFCTagReaderSessionDelegate
Added
-[NFCTagReaderSessionDelegate tagReaderSession:didInvalidateWithError:]
Added
-[NFCTagReaderSessionDelegate tagReaderSessionDidBecomeActive:]
Added
-[NFCTagReaderSessionDelegate tagReaderSession:didDetectTags:]
Added
NFCTagReaderSession
Added
NFCTagReaderSession.connectedTag
Added
NFCPollingOption
Added
NFCPollingISO14443
Added
NFCPollingISO15693
Added
NFCPollingISO18092
Added
-[NFCTagReaderSession initWithPollingOption:delegate:queue:]
Added
-[NFCTagReaderSession restartPolling]
Added
-[NFCTagReaderSession connectToTag:completionHandler:]
NFCVASReaderSession.h
Added
NFCVASCommandConfiguration
Added
VASMode
Added
VASModeURLOnly
Added
VASModeNormal
Added
NFCVASCommandConfiguration.mode
Added
NFCVASCommandConfiguration.passTypeIdentifier
Added
NFCVASCommandConfiguration.url
Added
-[NFCVASCommandConfiguration initWithVASMode:passTypeIdentifier:url:]
Added
NFCVASResponse
Added
VASErrorCode
Added
VASErrorCodeSuccess
Added
VASErrorCodeDataNotFound
Added
VASErrorCodeDataNotActivated
Added
VASErrorCodeWrongParameters
Added
VASErrorCodeWrongLCField
Added
VASErrorCodeUserIntervention
Added
VASErrorCodeIncorrectData
Added
VASErrorCodeUnsupportedApplicationVersion
Added
NFCVASResponse.status
Added
NFCVASResponse.vasData
Added
NFCVASResponse.mobileToken
Added
NFCVASReaderSessionDelegate
Added
-[NFCVASReaderSessionDelegate readerSessionDidBecomeActive:]
Added
-[NFCVASReaderSessionDelegate readerSession:didInvalidateWithError:]
Added
-[NFCVASReaderSessionDelegate readerSession:didReceiveVASResponses:]
Added
NFCVASReaderSession
Added
-[NFCVASReaderSession initWithVASCommandConfigurations:delegate:queue:]