Files
realdoomsboygaming c51f1b20d5 Fixed iOS 18 Icon Sizing (#826)
* Add IOS 18 UI Icon Sizing Support

* Add IOS 18 UI Icon Sizing Support
2025-03-11 15:19:25 -06:00

49 lines
1.0 KiB
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
@interface UIImage(hook)
- (UIImage *)hook_imageWithSize:(CGSize)size;
@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 UIWindow(global)
+ (UIWindow *)mainWindow;
+ (UIWindow *)externalWindow;
@end
/*
@interface WFTextTokenTextView : UITextField
@property(nonatomic) NSString* placeholder
@end
*/