mirror of
https://github.com/NohamR/TrollDecrypt-tvOS.git
synced 2026-07-11 22:41:37 +00:00
Fix icons not showing up for some users app crashing on launch, app crashing when going to share files
37 lines
1.4 KiB
Objective-C
37 lines
1.4 KiB
Objective-C
#import <MobileCoreServices/LSApplicationProxy.h>
|
|
#import <MobileCoreServices/LSApplicationWorkspace.h>
|
|
|
|
@interface LSApplicationRecord : NSObject
|
|
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
|
|
@property (getter=isLaunchProhibited,readonly) BOOL launchProhibited;
|
|
@end
|
|
|
|
@interface LSApplicationProxy (Additions)
|
|
@property (readonly, nonatomic) NSString *shortVersionString;
|
|
@property (nonatomic,readonly) NSString* localizedName;
|
|
@property (nonatomic,readonly) NSString* applicationType; // (User/System)
|
|
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
|
|
@property (getter=isLaunchProhibited,nonatomic,readonly) BOOL launchProhibited;
|
|
+ (instancetype)applicationProxyForIdentifier:(NSString*)identifier;
|
|
- (LSApplicationRecord*)correspondingApplicationRecord;
|
|
@end
|
|
|
|
@interface LSApplicationWorkspace (Additions)
|
|
- (void)addObserver:(id)arg1;
|
|
- (void)removeObserver:(id)arg1;
|
|
- (void)enumerateApplicationsOfType:(NSUInteger)type block:(void (^)(LSApplicationProxy*))block;
|
|
@end
|
|
|
|
@interface LSApplicationProxy (AltList)
|
|
- (BOOL)atl_isSystemApplication;
|
|
- (BOOL)atl_isUserApplication;
|
|
- (BOOL)atl_isHidden;
|
|
- (NSString*)atl_fastDisplayName;
|
|
- (NSString*)atl_nameToDisplay;
|
|
- (NSString*)atl_shortVersionString;
|
|
@property (nonatomic,readonly) NSString* atl_bundleIdentifier;
|
|
@end
|
|
|
|
@interface LSApplicationWorkspace (AltList)
|
|
- (NSArray*)atl_allInstalledApplications;
|
|
@end |