SQRDReaderSettingsController

@interface SQRDReaderSettingsController : NSObject

Lets the application present screens for connecting and managing a set of Square Readers.

  • Create a new SQRDReaderSettingsController with the specified delegate.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDelegate:
        (nonnull id<SQRDReaderSettingsControllerDelegate>)delegate;

    Swift

    init(delegate: SQRDReaderSettingsControllerDelegate)

    Parameters

    delegate

    The 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

    viewController

    The view controller from which the reader settings flow will be modally presented.