문제

is it possible to set userInfo in SBApplication from Springboard tweak, so when app launches i can catch it in didFinishLaunchingWithOptions ?

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top