is it possible to set userInfo in SBApplication from Springboard tweak, so when app launches i can catch it in didFinishLaunchingWithOptions ?
2 Answers
You shouldn't change existing question. If you want, ask another question. You completely changed your question and now my answer is useless for those who will find it later.
As for the new question, you can write tweak that loads with every application that links to UIKit.framework
. To do this you need to add MobileSubstrate filter
Filter = {
Bundles = (com.apple.UIKit);
};
In your tweak you can hook -(BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
and pass any arguments you want.
More information about MobileSubstrate filters can be found here http://iphonedevwiki.net/index.php/MobileSubstrate

- 9,400
- 1
- 30
- 47
-
thanks a lot! sorry for changing question, may be we can delete your previous answer or i can edit question to relate to your answer ? – user2290636 Jun 08 '13 at 15:16
Why do you think there is userInfo
variable inside bulletin
object? Assuming it is an instance of class SBBulletinBannerItem
there is no userInfo
variable. Even if it's instance of BBBulletin
still there is no userInfo
variable.

- 9,400
- 1
- 30
- 47