蘋果審核已經(jīng)禁止用UIWebView了
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more
檢測代碼和SDK庫是否包含UIWebView
-
AFNetworking
3.x版本的分類UIWebView+AFNetworking包含踩麦,如沒用可直接刪除瞻佛,4.x版本已經(jīng)使用WKWebView+AFNetworking(需要Xcode11編譯)
檢測代碼
- 只是匹配對應(yīng)字符串
- 后面有個.和UIWebView分開
grep -r UIWebView .
- 執(zhí)行結(jié)果馏艾,如果匹配中虏缸,就會顯示對應(yīng)的路徑烟很,類名和使用的方法
./Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h:// UIWebView+AFNetworking.h
./Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h: This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.
./Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h:@interface UIWebView (AFNetworking)
./Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h: #import "UIWebView+AFNetworking.h"
./Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h:// UIWebView+AFNetworking.h
./Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h: This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.
./Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h:@interface UIWebView (AFNetworking)
./Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h: #import "UIWebView+AFNetworking.h"
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h:// UIWebView+AFNetworking.h
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h: This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h:@interface UIWebView (AFNetworking)
./Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h: #import "UIWebView+AFNetworking.h"
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m:// UIWebView+AFNetworking.m
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m:#import "UIWebView+AFNetworking.h"
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m:@interface UIWebView (_AFNetworking)
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m:@implementation UIWebView (_AFNetworking)
./Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m:@implementation UIWebView (AFNetworking)
檢測SDK
find . -type f | grep -e ".a" -e ".framework" | xargs grep -s UIWebView
- 執(zhí)行結(jié)果,如果存在會有提示
Binary file ./libXXX.a matches