diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-01-15 04:29:54 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-01-15 04:29:54 -0800 |
commit | 7ebd339758c06a951d708150bb13924d80160d08 (patch) | |
tree | 03ee8a3fba7832a1c95df83e3a6c1a81b1bf9d71 /Tweak.xm | |
parent | c5182285772ffdfabf5731528da3ffbf1dfd2290 (diff) |
Attempt to disable the user's wallpaper on iOS 7.
Diffstat (limited to 'Tweak.xm')
-rw-r--r-- | Tweak.xm | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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_]; |