For a GET request I\'ve tried this simple method:
NSString *urlAddress = @"http://example.com/";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLReq
Here is a Swift version of Seva Alekseyev's answer which worked perfectly for me. Thanks for the nice post mate! BTW following code is in Swift 3.1.
fileprivate func prepareDataAndSubmitForRepayment(parameters paramData: [String: Any]) {
var stringObj = String()
stringObj.append("")
stringObj.append("")
stringObj.append("")
debugPrint(stringObj)
webviewToLoadPage?.loadHTMLString(stringObj, baseURL: nil)
}