#import #define realUIIdiom UIDevice.currentDevice.hook_userInterfaceIdiom @interface UIDevice(hook) - (NSString *)completeOSVersion; - (UIUserInterfaceIdiom)hook_userInterfaceIdiom; @end @interface UIImageView(hook) @property(nonatomic) BOOL isSizeFixed; @end @interface UIImage(hook) - (UIImage *)hook_imageWithSize:(CGSize)size; @end // private functions @interface UIContextMenuInteraction(private) - (void)_presentMenuAtLocation:(CGPoint)location; @end @interface _UIContextMenuStyle : NSObject @property(nonatomic) NSInteger preferredLayout; + (instancetype)defaultStyle; @end @interface UIDevice(private) - (NSString *)buildVersion; @end @interface UIImage(private) - (UIImage *)_imageWithSize:(CGSize)size; @end @interface UITextField(private) @property(assign, nonatomic) NSInteger nonEditingLinebreakMode; @end @interface UIWindow(global) + (UIWindow *)mainWindow; + (UIWindow *)externalWindow; @end /* @interface WFTextTokenTextView : UITextField @property(nonatomic) NSString* placeholder @end */