I created a demo to test core NFC and failed to write the iso15693 tag.
I couldn't execute successfully and got the error message:
Error Domain=NFCError Code=100 "Tag connection lost" UserInfo={NSLocalizedDescription=Tag connection lost}
I would like to ask if core NFC supports writing iso15693tag?
I think I need a successful example of how to create a correct blockdata. I hope someone can help me. Thank you very much!
Code Block Byte bytes[8]={0x12,0x21,0x04,0x74,0x65,0x73,0x74,0x00}; NSData *data = [[NSData alloc] initWithBytes:bytes length:8]; [iso15693Tag writeSingleBlockWithRequestFlags:RequestFlagSelect blockNumber:0x04 dataBlock:data completionHandler:^(NSError * _Nullable error) { if (error) { NSLog(@"Failed to write tag!"); } else { NSLog(@"write succeeded!"); } }];
I couldn't execute successfully and got the error message:
Error Domain=NFCError Code=100 "Tag connection lost" UserInfo={NSLocalizedDescription=Tag connection lost}
I would like to ask if core NFC supports writing iso15693tag?
I think I need a successful example of how to create a correct blockdata. I hope someone can help me. Thank you very much!