raV*_*720 2 nfc xamarin.ios xamarin
我在 Xamarin IOS 上设置 NFC 读取器时遇到问题。配置示例如下: https: //learn.microsoft.com/en-us/xamarin/ios/platform/introduction-to-ios11/corenfc
启动应用程序后,NFCNdefReaderSession.ReadingAvailable 始终为 false,并且在设备日志中:
[NFCNDEFReaderSession beginSession]:255 error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.}
Run Code Online (Sandbox Code Playgroud)
在 IOS 项目设置 -> IOS Bundle Singing -> Custom Entitlements 中 - 在我的项目中它是空白的。只需将其设置为您的 Entitlements.plist
| 归档时间: |
|
| 查看次数: |
2034 次 |
| 最近记录: |