Sidharth J Dev
Sidharth J Dev

Reputation: 987

Cannot open URL in UIWebView in ios 9.0

I get the following message when i try to open a URL in UIWebView-

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

I already tried the method given here but I get the same error report at the console

My info.plist

Error At Console

Upvotes: 0

Views: 1330

Answers (1)

Arnanta Chatterjee
Arnanta Chatterjee

Reputation: 26

NSAppTransportSecurity add to info.plist , data type is Dictionary, then add an item NSAllowsArbitraryLoads , which is boolean value and set it to YES, then restart the Xcode project and run.

NSAppTransportSecurity: - A dictionary containing the settings for overriding default App Transport Security behaviors. The top level key for the app’s Info.plist file.

Upvotes: 1

Related Questions