Jump to content

Todeskuss

Senior Member
  • Posts

    325
  • Joined

  • Last visited

Everything posted by Todeskuss

  1. My guess would be: %hook SpringBoard -(long long) homeScreenRotationStyle { if(GetPrefBool(@"kName2")) { return 2; } if(GetPrefBool(@"kName1")) { return 1; } return %orig; } %end It may be an 'else if' but I'm not sure
  2. I'm not dumb, I know what Key needs to be defined as, as well as under defaults. The problem was in #include, I had it listed as 'prefbundle.plist' instead of 'com.fumetsu.prefbundle.plist'. Anyway I have yet another issue. The toggles work fine, but only for some. The other ones which originally had the '(?)' that you questioned don't work. Is it supposed to stay as '(unsigned int)'? Am I missing something since it's written as 'receiveContactEvent:(?)' even though the (?) gives errors?
  3. The bundle ID under 'defaults'? It was the bundle ID of prefbundle, that didn't work; I changed it to the bundle ID of the tweak itself, that didn't work either. Then I changed it to the bundle ID of the application, and that just broke it.
  4. Yikes man we got yet another issue. Switches in Settings aren't doing anything. Tweak.xm: any other files you need to see just let me know
  5. this guy, totally trustworthy. 2 posts, 0 thanks, and a member for 40 minutes[/sarcasm]
  6. nah man it's only adding profiles to allow acces to system components ( ͡° ͜ʖ ͡°)
  7. Issue resolved, thanks DiDA - close please
  8. Looks like Assembly (ARM), you gotta use IDA fo dat, plenty of tutorials on iOSGods. You're gonna need a base understanding of code though, as ARM is hard to understand for first-timers.
  9. Got Tweak.xm working, now I'm getting: prefbundle.mm:1:9: fatal error: 'Preferences/Preferences.h' file not found #import <Preferences/Preferences.h>
  10. well excuuuuse me, copy+paste doesn't include line-spacing apparently
  11. Know any good text editor that numbers lines?
  12. Okay so now I'm ending up with another error: Tweak.xm:114:2: error: expected unqualified-id { and Tweak.xm:
  13. just like... delete it? wow das ist einfach
  14. ja i think? dat ist how it appears in Flex2.. what do I do about dass?
  15. I put %end after every %hook
  16. Making all for tweak testtweak... Preprocessing Tweak.xm... Compiling Tweak.xm... Tweak.xm:4:3889: error: expected parameter declarator Tweak.xm:4:3889: error: expected ')' Tweak.xm:4:3869: note: to match this '(' Tweak.xm:4:4004: error: expected parameter declarator Tweak.xm:4:4004: error: expected ')' Tweak.xm:4:3984: note: to match this '(' Tweak.xm:4:4126: error: expected parameter declarator Tweak.xm:4:4126: error: expected ')' Tweak.xm:4:4103: note: to match this '(' Tweak.xm:4:4247: error: expected parameter declarator Tweak.xm:4:4247: error: expected ')' Tweak.xm:4:4224: note: to match this '(' Tweak.xm:4:4363: error: expected parameter declarator Tweak.xm:4:4363: error: expected ')' Tweak.xm:4:4343: note: to match this '(' Tweak.xm:4:4478: error: expected parameter declarator Tweak.xm:4:4478: error: expected ')' Tweak.xm:4:4458: note: to match this '(' Tweak.xm:4:4608: error: expected parameter declarator Tweak.xm:4:4608: error: expected ')' Tweak.xm:4:4589: note: to match this '(' Tweak.xm:4:4741: error: expected parameter declarator Tweak.xm:4:4741: error: expected ')' Tweak.xm:4:4722: note: to match this '(' Tweak.xm:4:4863: error: expected parameter declarator Tweak.xm:4:4863: error: expected ')' Tweak.xm:4:4842: note: to match this '(' Tweak.xm:4:4980: error: expected parameter declarator fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Tweak.xm:
  17. well you can always swipe up the control panel, or try this: Settings -> General -> Accessibility -> Zoom -> Enable Zoom Tap the screen quickly with three fingers three times Press ‘Choose Filter’ > ‘Low Light’, then set Zoom Region to “Full Screen Zoom” Settings -> General -> Accessibility -> Accessibility Shortcut (it’s at the bottom) -> Set to “Zoom” then tap the home button 3 times quickly to dim your screen
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines