From: Jay Freeman (saurik) Date: Wed, 15 Jan 2014 12:29:54 +0000 (-0800) Subject: Attempt to disable the user's wallpaper on iOS 7. X-Git-Tag: v0.9.4000~3 X-Git-Url: https://git.saurik.com/safemode-ios.git/commitdiff_plain/7ebd339758c06a951d708150bb13924d80160d08 Attempt to disable the user's wallpaper on iOS 7. --- diff --git a/Tweak.xm b/Tweak.xm index 9b4a133..5b6f143 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -278,6 +278,11 @@ static void AlertIfNeeded() { #define Paper_ "/Library/MobileSubstrate/MobileSafety.png" +%hook SBWallpaperImage ++ (id) alloc { + return nil; +} %end + %hook UIImage + (UIImage *) defaultDesktopImage { return [UIImage imageWithContentsOfFile:@Paper_];