Received an email from Apple support, deprecated API usage. Your app is using deprecated API UIWebView. Apple will stop accepting such apps that uses UIWebView. In this video, we will learn how find which framework, library or our code files uses UIWebView. There are three steps to check for UIWebView inside our code or project.
1) Search fro UIWebView, if found replace with WKWebVIew
2) If using pods. check for framework using UIWebView (if syntax is not searchable), we need use commands in terminal to find out culprit framework and then wait for its updation by framework owner.
3) If our code contains frameworks not installed using pods. We need to run command in this case to find out which framework is causing this issue.
Commands for searching UIWebView inside pod framework:
for framework in Frameworks/*.framework; do
fname=$(basename $framework .framework)
echo $fname
nm $framework/$fname | grep UIWeb
done
For searching all code:
grep -r "UIWebView" .
Watch video Swift Tutorials: How to fix warning deprecated UIWebView API usage in Xcode for iOS app online without registration, duration hours minute second in high quality. This video was added by user Swift Tutorials 29 October 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,773 once and liked it 102 people.