how to determine which apps are background and which app is foreground on iOS by application id
Well, looks like some usage of nm and IDA on SpringBoardServices binary from simulator helped me on this. Following code works on iOS 5.0.1 running on iPod Touch 4, iPhone 4 and iPad1 WiFi(all non-JB) Of course you should never try to submit that to AppStore – (NSArray*) getActiveApps { mach_port_t *p; void *uikit = … Read more