Advertisement
Guest User

Untitled

a guest
Jun 11th, 2019
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %hook SparkAutoUnlockX
  2. // If this returns TRUE, AutoUnlockX will not fully unlock the device.
  3. -(BOOL) externalBlocksUnlock
  4. {
  5.     // NOTE: Make sure if you return NO/FALSE here to return %orig. That way other tweaks have the chance to return YES/TRUE.
  6.     // i.e. Please DO NOT do "return myTweakIsShowing"
  7.  
  8.     if(myTweakIsShowing)
  9.     {
  10.         return TRUE;
  11.     }
  12.  
  13.     return %orig;
  14. }
  15. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement