40 lines
880 B
Objective-C
40 lines
880 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#define realUIIdiom UIDevice.currentDevice.hook_userInterfaceIdiom
|
|
|
|
@interface UIDevice(hook)
|
|
- (NSString *)completeOSVersion;
|
|
- (UIUserInterfaceIdiom)hook_userInterfaceIdiom;
|
|
@end
|
|
|
|
@interface UIImageView(hook)
|
|
@property(nonatomic) BOOL isSizeFixed;
|
|
@end
|
|
|
|
// private functions
|
|
@interface UIContextMenuInteraction(private)
|
|
- (void)_presentMenuAtLocation:(CGPoint)location;
|
|
@end
|
|
@interface _UIContextMenuStyle : NSObject <NSCopying>
|
|
@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 WFTextTokenTextView : UITextField
|
|
@property(nonatomic) NSString* placeholder
|
|
@end
|
|
*/
|