IPBillDetailsModalViewController

public class IPBillDetailsModalViewController : UIViewController, UIGestureRecognizerDelegate

Modal to be used for Bill and Beneficary detail

### Usage: ###

// Check ModalType for options
IPBillDetailsModalViewController.showModal(from: benDetails,
                                            payment: # IPPayment object instance #,
                                            highlightColor: .systemRed,
                                            type: .beneficiary)

Initializers

Lifecycle methods

  • Undocumented

    Declaration

    Swift

    public override func viewDidLoad()

Private methods

  • Undocumented

    Declaration

    Swift

    public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool

Class

  • Undocumented

    See more

    Declaration

    Swift

    public enum ModalType
  • Static method to present the current controller modally and with transparent background

    Declaration

    Swift

    public static func showModal(from vc: UIViewController, payment: IPPayment, highlightColor: UIColor, type: ModalType)

    Parameters

    vc

    reference to the controller presenting it.

    payment

    payment data to load into it

    highlightColor

    main color

    type

    .bill or .beneficiary