[UnSelector]-[__NSXPCInterfaceProxy_NFCHardwareManagerInterface areFeaturesSupported:completion:]: unrecognized selector sent to instance 0x281434d70

my app store application have met this problem most at OS version 16.6 and other OS version when i use [NFCReaderSession featureAvailable:],and Near Field Communication capability is equiped。I have no idea why this would happen。

Replies

I use this function,but it happened unrecognized selector error if (@available(iOS 14.5, *)) { if (NFCNDEFReaderSession.readingAvailable == YES) { return YES; } } return NO;