I'm working on my app, I wanted to add AdMob banner like I always do without any problem before, but now on this new app it doesn't show up.
The banner ad is in one of the UITableViewCell
's, and I get this log message:
-canOpenURL: failed for URL: "kindle://home" - error: "(null)"
I have disabled Bitcode and I have added the App Transport Security and NSAllowsArbitraryLoads
in the info.plist
file.
Update to the latest AdMob SDK . This issue was fixed in 7.5.0:
SDK no longer uses
UIApplication
'scanOpenURL
method on iOS 9 devices.
I simply pasted this into my info.plist
file and it all worked
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.