jailbreak

NSURLRequest hanging SpringBoard

可紊 提交于 2019-12-19 09:22:24
问题 I have a MobileSubstrate addon that hooks springboard (not in the actual objective c code, but with the plist). It contains a UIWebView, which loads a NSURLRequest. This NSURLRequest is here: NSString *urlAddress = @"http://www.google.com"; NSURL *url = [NSURL URLWithString:urlAddress]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [webView loadRequest:requestObj]; This NSURLRequest hangs springboard. I did LOTS of testing, and I am 100% sure that this NSURLRequest hangs

How to remove app icon programmatically from jail broken iPhone app?

﹥>﹥吖頭↗ 提交于 2019-12-19 08:30:24
问题 How to remove my application icon for my app functionality? I want to do it only in jail break devices. 回答1: You have to modify the Info.plist file in your app bundle to include this: <key>SBAppTags</key> <array> <string>hidden</string> </array> (source) 来源: https://stackoverflow.com/questions/13788611/how-to-remove-app-icon-programmatically-from-jail-broken-iphone-app

Interprocess SQLite Thread Safety (on iOS)

做~自己de王妃 提交于 2019-12-19 05:50:47
问题 I'm trying to determine if my sqlite access to a database is thread-safe on iOS. I'm writing a non App Store app (or possibly a launch daemon), so Apple's approval isn't an issue. The database in question is the built-in sms.db, so for sure the OS is also accessing this database for reading and writing. I only want to be able to safely read it. I've read this about reading from multiple processes with sqlite: Multiple processes can have the same database open at the same time. Multiple

Make iPad Single App Device (or startup lock?)

十年热恋 提交于 2019-12-19 04:14:40
问题 is it possible (trough jailbreaking ?) to lock an ipad into single app modus so when it starts it just starts 1 app and it's impossible to see the springboard homescreen? 回答1: Yes, you could write a MobileSubstrate tweak that launches the app when SpringBoard starts. Then you'd also have to override the function of the home button. Shouldn't be too hard. If you don't know how to write MobileSubstrate tweaks, look into theos, it makes it really easy. 来源: https://stackoverflow.com/questions

No jailbreak detection

你说的曾经没有我的故事 提交于 2019-12-18 13:18:14
问题 I'm trying to make an app which onely works on jailbroken iDevices. I allready made a jailbreak detection: ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"cydia://"]]);{ UIAlertView *cydiaisinstalled=[[UIAlertView alloc]initWithTitle:@"Cydia is installed!" message:@"You can use Respring!" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [cydiaisinstalled show]; }} But now I need the reverse thing. I need a NON JAILBREAK detection. I need your help I need

Attempting to deploy my app on my jailbroken iphone, but the app closes immediately!

萝らか妹 提交于 2019-12-18 10:29:42
问题 I'm trying to develop iphone apps on my jailbroken iphone, and I can't seem to get the process down, for whenever I deploy my app, set all file permissions to 777, and respring, the application closes immediately when I try to launch it. Furthermore, it does not have the auto-gloss xcode shows in the iphone simulator, so what gives? I've generated the cert via keychain access and added the two keys for REQUIREPROVISIONING and ALLOWPROVISIONING (both values no), and then set the appropriate

Xcode 4 and jailbroken iPhone

风格不统一 提交于 2019-12-18 09:07:17
问题 I've just purchased Xcode 4 and am trying to develop my apps in it. I don't currently have a developers license however (and don't want one until I am ready to submit to the app store) so I have jailbroken my device and installed appsync. After following the steps suggested in this thread, not only can I not deploy to my iPhone, but now any project I create for iPhoneOS, I get the warning; Target Integrity Missing SDK in target XXXXX: iphoneos I don't know enough about sed to know what went

iOS: CGImageCreateWith[PNG or JPEG]DataProvider causes segmentation fault

无人久伴 提交于 2019-12-18 05:54:20
问题 I'm facing a weird problem. I'm developing an iOS command line barcode scanner utility using libzbar (yes, this is for jailbroken devices). All goes fine except when I'm trying to use the CGImageCreateWithPNGDataProvider() or CGImageCreateWithJPEGDataProvider() methods to obtain a CGImageRef from a file - because these two functions throw a segfault on my 5.1.1 iPad. The problem is not in my custom class, ZBarScanner , because if I use an UIImage to obtain the image data, using something like

iOS: CGImageCreateWith[PNG or JPEG]DataProvider causes segmentation fault

落花浮王杯 提交于 2019-12-18 05:53:22
问题 I'm facing a weird problem. I'm developing an iOS command line barcode scanner utility using libzbar (yes, this is for jailbroken devices). All goes fine except when I'm trying to use the CGImageCreateWithPNGDataProvider() or CGImageCreateWithJPEGDataProvider() methods to obtain a CGImageRef from a file - because these two functions throw a segfault on my 5.1.1 iPad. The problem is not in my custom class, ZBarScanner , because if I use an UIImage to obtain the image data, using something like

How can I enable and disable WiFi connectivity with a jailbroken iOS device?

给你一囗甜甜゛ 提交于 2019-12-18 05:22:33
问题 How can I programmatically enable and disable WiFi connectivity with a jailbroken iOS device? 回答1: void SetWiFiMode(BOOL mode) { void* manager = WiFiManagerClientCreate(kCFAllocatorDefault, nil); if (mode) { WiFiManagerClientSetProperty(manager, CFSTR("AllowEnable"), kCFBooleanTrue); } else { WiFiManagerClientSetProperty(manager, CFSTR("AllowEnable"), kCFBooleanFalse); } CFRelease(manager); } To use this your application entitlements should have com.apple.wifi.manager-access key with boolean