-
Posts
2,379 -
Joined
-
Last visited
Everything posted by castix
-
I wouldn't do it if I were you. The best thing is to learn hacking using Cydia Substrate before you try weird things on your iDevice. That also saves some annoying support topics in which we (and certainly me) have to help you with easy things.
-
Do you have iFile working?
-
Don't put anything on the top i you don't call function terms of another method
-
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
You can make the popup appear only once per app launch so you modify the condition or what you say.. -
Help/Support are there errors in the structure of my hack?
castix replied to mehdiphone's topic in Help & Support
You switched things: It's BOOL and true -
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
Popup can be closed when a button got clicked I understand when you don't know that because you stuck at the basic templates for an UIAlertview -
Help/Support How can I return (void)xxx:(bool)
castix replied to mehdiphone's topic in Help & Support
- (void)setActive:(BOOL)fp8 { return %orig(true); } -
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
Sorry for the inconvenience, DiDA is telling crap. Of course you can assign each button to a unique action or link. -
I don't know the guy who made it. Besides its not hard at all to recreate it
-
Download the OpenSSH .deb Open a file browser like iFunbox, iTools etc. Navigate to /var/root/Media/Cydia/Autoinstall Copy the .deb in there Reboot your iDevice and OpenSSH should be installed You can now use semi-restore or whatever
-
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
@@DiDA %hook FraggerAppDelegate - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Credits" message:@"Example by castix" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:@"Website",nil]; [alert show]; } - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { NSString *title = [alertView buttonTitleAtIndex:buttonIndex]; if([title isEqualToString:@"Website"]) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://Google.com"]]; } } %end -
This helper class can take any UIView and return to you a UIImage that is basically a screenshot of that view. Throw this into a category and you’re good to go. + (UIImage*)viewAsImage:(UIView*)view { UIImage *image = nil; UIGraphicsBeginImageContextWithOptions(view.bounds.size, NO, [UIScreen mainScreen].scale); [view.layer renderInContext:UIGraphicsGetCurrentContext()]; image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return image; }
-
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
%hook FraggerAppDelegate - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Credits" message:@"Example by castix" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:@"Website",nil]; [alert show]; } %new - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { NSString *title = [alertView buttonTitleAtIndex:buttonIndex]; if([title isEqualToString:@"Website"]) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://iosgods.com"]]; } } %end -
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
I edited DiDA's first entry use it -
Help/Support UIAlertView with a link [tweak only]
castix replied to Cyber X's topic in Help & Support
Doesn't work DiDA. At the start you declared it with credits and in the implementation with button. This will cause the following: If button = do alert ; but you can only click credits so it won't do anything -
Long live Limerain ! No more iAPCrazy or LocaliAPStore !
-
Uninstall xCon and Flex Check
-
Can you make a list of all installed Cydia Tweaks (not the system packages)
-
Help/Support Undefined symbols for architecture armv7:
castix replied to Cyber X's topic in Help & Support
Uh that means you shouldn't do the alert on this app Mail, Safari and other apps use the same class which means it will also be applied on them which leads to a crash. Only hack the alert if the function class is unique (in 70% of the cases it is) -
Help/Support Undefined symbols for architecture armv7:
castix replied to Cyber X's topic in Help & Support
One '_' too much in your Makefile test_FRAMEWORKS = UIKitAlso #include <UIKit/UIKit.h> -
The class is likely marked with '...Delegate' You can also search functions like - (void)applicationsDidBecomeActive:(id)
-
You can write it in your implementation file. When it's not a patcher add it with %new - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { NSString *alert = [alertView buttonTitleAtIndex:buttonIndex]; if([alert isEqualToString:@"Website"]) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://iOSGods.com"]]; } } The class is MagicTimeIPhoneAppDelegate
-
I could give you the best example if you would tell me the app name.
-
You often skip lots of valuable functions using Flex/2. I'll recommend you to use Class-Dump for further hacking using basic MS. 1. Download Class-Dump from cydia store 2. I showed you how to crack an app using Clutch but I will do it again 2.1 Open Terminal and type su alpine Clutch // The first time to see the binary names Clutch "BinaryName"2.2 Go to /var/mobile/Documents/Cracked2.3 Click the info button of the .IPA you just cracked 2.4 Change the extension to .zip (It's .ipa.zip now) 2.5 Open the zip file and extract the binary 2.6 Go to /var/mobile/Documents/Payload and copyt the binary to /var/mobile (You can rename it to whatever you want) 3. Create a folder at /var/mobile/ called class-dump or something 4.Open Terminal again and type su alpine class-dump -H /var/mobile/BinaryName -o /var/mobile/class-dump. // Only if you named the folder class-dump]5. Now in this folder all the header files will appear. Feel free to go through all of them and find the best functions available !
-
You are hacking OMG: TD! Open the .plist in iFile and it shows you the error.