IPMessageModalViewController
public class IPMessageModalViewController : UIViewController, UIGestureRecognizerDelegate
Basic Modal for messages
Usage:
IPMessageModalViewController.showModal(from: self,
title: "Modal title text",
message: "message text")
-
Custom initializer
Declaration
Swift
public init(title: String, message: String)
Parameters
title
modal title text.
message
modal message content.
-
Undocumented
Declaration
Swift
public override func viewDidLoad()
-
Undocumented
Declaration
Swift
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool
-
Static method to present the current controller modally and with transparent background
Declaration
Swift
public static func showModal(from vc: UIViewController, title: String, message: String)
Parameters
vc
reference to the controller presenting it.
title
title text
message
message text