Jump to content

luckyben

Member
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • iDevice
    iPhone 7

Recent Profile Visitors

258 profile views

luckyben's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. thanks! I continue testing
  2. #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> static id __sb = nil; %hook SpringBoard -(void)applicationDidFinishLaunching: (id)application { %orig; UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"test1!"message:@"testteststes!!"delegate:self cancelButtonTitle:@"Thanks"otherButtonTitles:nil]; [alert show]; [alert release]; } - (id)init { __sb = self; return %orig; } - (void)alertView: (UIAlertView *)alertView clickedButtonAtIndex: (NSInteger)buttonIndex { //[__sb relaunchSpringBoard]; } %new( @@: ) + (id)sharedBoard { return __sb; } %end I learn a basic example. After using theos compiled.Running on my ipad min2 no effect Below is my makefile include theos/makefiles/common.mk TWEAK_NAME = xiao xiao_FILES = Tweak.xm xiao_FRAMEWORKS = UIKit include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard" Great god trouble is probably where the problem is solved thanks
  3. 良好
  4. very good ! thanks
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines