NSURL *url = [NSURL URLWithString: address];
NSString *body = [NSString stringWithFormat: @"%@", webViewString];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc]initWithURL: url];
[request setHTTPMethod: @"POST"];
[request setHTTPBody: [body dataUsingEncoding: NSUTF8StringEncoding]];
[_paymentWebView loadRequest: request];
I load the UIWebView but I got this error in my application when I try to access the PayUMoney payment gateway via UIWebView
in above code but it show this error and I am using AFNetworking
in other API calls.
Kindly help me to resolve this error.
objc[4933]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x12487e998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x1246a3d38). One of the two will be used. Which one is undefined.**
Just use
You don't need to use setHTTPBody or setHTTPMethod.