Files
PojavLauncher_iOS/Natives/UIKit+hook.h
T
2023-08-28 20:37:49 +07:00

35 lines
784 B
Objective-C

#import <UIKit/UIKit.h>
#define realUIIdiom UIDevice.currentDevice.hook_userInterfaceIdiom
@interface UIDevice(hook)
- (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 UIImage(private)
- (UIImage *)_imageWithSize:(CGSize)size;
@end
@interface UITextField(private)
@property(assign, nonatomic) NSInteger nonEditingLinebreakMode;
@end
/*
@interface WFTextTokenTextView : UITextField
@property(nonatomic) NSString* placeholder
@end
*/