检测代码是否包含UIWebView

2020-07-29  本文已影响0人  WeeverLu

苹果审核已经禁止用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

检测代码

grep -r UIWebView .
./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
Binary file ./libXXX.a matches

参考:https://www.jianshu.com/p/9f6be3cfbaa7

上一篇下一篇

猜你喜欢

热点阅读