Permalink
Browse files

Code cleanup, explicitly support iOS 12

  • Loading branch information...
parrotgeek1 committed Feb 6, 2019
1 parent 341c550 commit b7bb3111f2e3df3fcb693783aa25047f11ea57df
Showing with 5 additions and 17 deletions.
  1. +3 −15 nobetaalert/Tweak.xm
  2. +2 −2 nobetaalert/control
@@ -1,24 +1,12 @@
%hook SBIconController

// 8

-(void)showDeveloperBuildExpirationAlertIfNecessary {}

// 9+10
- (void)showDeveloperBuildExpirationAlertIfNecessaryFromLockscreen:(_Bool)arg1 toLauncher:(_Bool)arg2 {}

-(void)showDeveloperBuildExpirationAlertIfNecessaryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {}
%end

// 11
// 11+12
%hook SBDeveloperBuildExpirationTrigger

- (void)showDeveloperBuildExpirationAlertIfNecessaryFromLockscreen:(_Bool)arg1 toLauncher:(_Bool)arg2 {}
//Expiration property moved in 11.4 beta 3
- (NSDate *)expirationDate { return [NSDate distantFuture]; }

%end

// might help
%hook SBLockdownManager
- (id)developerBuildExpirationDate { return [NSDate distantFuture]; }
-(void)showDeveloperBuildExpirationAlertIfNecessaryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {}
%end
@@ -1,9 +1,9 @@
Package: com.parrotgeek.nobetaalert
Name: NoBetaAlert
Depends: mobilesubstrate
Version: 1.3
Version: 1.3.1
Architecture: iphoneos-arm
Description: Hide "Please update from the iOS beta" alert (iOS 8-11.4)
Description: Hide "Please update from the iOS beta" alert (iOS 8-12.x)
Maintainer: Ethan Nelson-Moore
Author: Ethan Nelson-Moore
Section: Tweaks

0 comments on commit b7bb311

Please sign in to comment.