简体   繁体   中英

How to detect Square Reader Hardware is connected with iPad via Bluetooth?

我正在使用Square Reader SDK开发iOS应用,如何检测Square Reader硬件是否与设备连接,以便在硬件未与设备连接的情况下显示Square Reader设置视图。

let readerSettingsController = SQRDReaderSettingsController(delegate: self)
readerSettingsController.present(from: self)

If you are done with other required process, Simply put above code to check status about card reader connection.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM