Reputation: 133
I'm developing an iOS app using Square Reader SDK, how will I detect whether the Square Reader Hardware is connected with the device, so that I can show Square Reader Settings View in case of the hardware is not connected with the device.
Upvotes: 0
Views: 171
Reputation: 1340
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.
Upvotes: 1