iOS 11.2 NFC-Tag random UID

时间:2017-12-18 07:45:24

标签: ios swift nfc

With iOS 11.2 i can´t read the real uid from tag. I can read a id from "NFCNDEFReaderSession" but this id is change with every scan.

args = {'form':form}
return render(request, 'accounts/update_bio.html', context=args) # <-- You're missing context

I need the real UID from the NFC-Tag. Have somebody a idea to get the uid from a nfc-tag. With iOS 11.0 was it possible to read this information.

1 个答案:

答案 0 :(得分:0)

在iOS 11.2.1之前,可以通过从Session的foundTags数组中读取“_tagID”来实现。但在更新后它只返回nil。 我们公司有同样的问题,我们正在考虑与苹果谈论这个问题,所以它是可能的,但它也是一个私人API调用,由于苹果指南,这是不允许的。我们的应用程序因此受到限制,我们从中删除了nfc读取,以获取我们的更新。

现在看来他们只是删除了Session的foundTags数组中的值。我认为没有技术理由说明它为什么不可能。这可能是IT安全问题。 希望苹果能够回应这一点,我们将在明年了解更多原因。