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" .
![](https://s2.save4k.ru/pic/NJpwx9i042E/maxresdefault.jpg)