如何从私有 API 为类 UIWebDocumentView 创建一个类别?
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface UIWebDocumentView (myCanPerformAction)
- (BOOL)myCanPerformAction:(SEL)action withSender:(id)sender;
@end
错误:
找不到“UIWebDocumentView”的接口声明