Skip to content
Guest Big Announcement

show the Progress of an AppStore Installation in Percent (%)

Featured Replies

 

%hook SBDownloadingIcon

- (id)displayName {
NSString *displayName_;
if (enabled) {
displayName_ = [NSString stringWithFormat:@"%d%%", (int)([self progress]*100)];
} else {
displayName_ = %orig;
}
return displayName_;
}
%end

 

I would like to work on ios 9.3.3 but it seems header does not indicate - (id) displayName. how to work. thanks.

 

 

header SBDownloadingIcon.h

 

 

 

 

/*

* This header is generated by classdump-dyld 1.0

* on Sunday, July 24, 2016 at 9:19:44 PM Eastern European Summer Time

* Operating System: Version 9.3.3 (Build 13G34)

* Image Source: /System/Library/CoreServices/SpringBoard.app/SpringBoard

* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.

*/

 

#import <SpringBoard/SpringBoard-Structs.h>

#import <SpringBoard/SBLeafIcon.h>

 

@class SBApplicationPlaceholder;

 

@interface SBDownloadingIcon : SBLeafIcon {

 

    BOOL _wasUninstalledByUser;

    SBApplicationPlaceholder* _appPlaceholder;

 

}

+(id)leafIdentifierForApplicationPlaceholderBundleID:(id)arg1 ;

-(id)uninstallAlertBody;

-(id)homescreenIconImage;

-(BOOL)isDownloadingIcon;

-(void)completeUninstall;

-(id)initWithApplicationPlaceholder:(id)arg1 ;

-(void)setUninstalledByUser:(BOOL)arg1 ;

-(void)setApplicationPlaceholder:(id)arg1 ;

-(id)gridCellImage;

-(id)_darkenedIconImageForImage:(id)arg1 ;

-(BOOL)uninstalledByUser;

-(id)realDisplayName;

-(void)reloadForStatusChange;

-(id)appPlaceholder;

-(id)description;

-(id)copyWithZone:(NSZone*)arg1 ;

-(void)cancelDownload;

@end

 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.