SQRDReaderSettingsController
@interface SQRDReaderSettingsController : NSObject
Lets the application present screens for connecting and managing a set of Square Readers.
-
Create a new
SQRDReaderSettingsControllerwith the specified delegate.Declaration
Objective-C
- (nonnull instancetype)initWithDelegate: (nonnull id<SQRDReaderSettingsControllerDelegate>)delegate;Swift
init(delegate: SQRDReaderSettingsControllerDelegate)Parameters
delegateThe object that acts as the delegate of the reader settings controller.
-
Presents a view controller for connecting and managing Square Readers.
Note
Reader SDK must be authorized to present the reader settings flow.Note
This method must be called from the main thread.Declaration
Objective-C
- (void)presentFromViewController:(nonnull UIViewController *)viewController;Swift
func present(from viewController: UIViewController)Parameters
viewControllerThe view controller from which the reader settings flow will be modally presented.
SQRDReaderSettingsController Class Reference