How to get the instance(UIApplication) of the front most application from SpringBoard tweak in iOS?

I need get the UIApplication instance of the current front most app.I use [UIApplication sharedApplication] but get only the instance of SpringBoard, does any one know how can I do it?Thank you.

Answers


Different processes (apps) live in different memory spaces. You can't access classes from other running applications from within the SpringBoard application. You'll need to inject your code into the app that you are trying to interact with.


Need Your Help

MongoDB compound index usage

mongodb indexing compound-index

Lets say I have document with the following two keys:

How to match text to a defined numeric value

ms-access survey

I have a database that has a bunch of survey data that I would like to work with. For several questions, the values are things like "Very important","Not at all likely" and I want to create a calcu...