UIViewController
extension UIViewController
                - 
                  
                  
A UIViewcontroller extension that shows an alert based on the Error it gets as the parameter. It can also add an extra option as a closure to be executed. Use this when drag and dropping files into the SDK.
Declaration
Swift
public func showErrorDialog(for error: Error, positiveAction: (() -> Void)?)Parameters
errorThe error to be shown
positiveActionThe closure to be executed. If nil, the extra option won’t be added.
 
    
        
            View on GitHub
          
      UIViewController Extension Reference