Jump to content

ducanhtian

Senior Member
  • Posts

    132
  • Joined

  • Last visited

Posts posted by ducanhtian

  1. 6 hours ago, keybode said:

    Use IOSAppDelegate

    both

    Thank so much, i have done :)

    19 hours ago, Soud3mk501 said:

    https://iosddl.net/db81c30f1b57fee9/SomeoneAlertView.zip

    i made this 

    1st change the .plist bundle to app you want

    2nd : change the “my twitter” and stuff to what you need 

    3rd : open newterm2 , sign is root then when you need to make package type

    
    export THEOS=/var/theos

     then

    
    Make package

     , if you get any problem pm me

    both

    Thank a lots, :)

  2. Hi all,

    I have make tweak Mod menu for game Pubg Mobile but when game start tweak menu not show, i have changed some name class "AppController, UnityAppController, GameDelegate.." but not work.

    Makefile:

    ARCHS = armv7 arm64
    CFLAGS = -fobjc-arc # ARC is needed for SCLAlertView
    include $(THEOS)/makefiles/common.mk
    
    TWEAK_NAME = Pubg
    
    Pubg_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
    Pubg_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
    Pubg_LDFLAGS += -Wl,-segalign,4000
    
    include $(THEOS_MAKE_PATH)/tweak.mk
    
    after-install::
    	install.exec "killall -9 SpringBoard"

    Tweak.xm

    // TestAlert for Theos by @iiS4iF
    // https://github.com/iis4if/TestAlert
    
    #import <UIKit/UIKit.h>
    #import <SCLAlertView/SCLAlertView.h>
    #import <CoreGraphics/CoreGraphics.h>
    #import <Accounts/Accounts.h>
    #import <Social/Social.h>
    #import <AVFoundation/AVFoundation.h>
    
    
    %hook PubgAppDelegate
    - (void)applicationDidBecomeActive:(id)arg1 {
        
        %orig;
        
        if (![[NSUserDefaults standardUserDefaults] objectForKey:@"FirstRun"]) {
            SCLAlertView *SCalert = [[SCLAlertView alloc] initWithNewWindow];
            SCalert.backgroundType = SCLAlertViewBackgroundBlur;
            [SCalert showNotice:@"TestAlert" subTitle:@"Using SCLAlertView for $TEOS 💯" closeButtonTitle:@"👍🏼" duration:0.0f];
            
            
            
            
            
            [[NSUserDefaults standardUserDefaults] setValue:@"1strun" forKey:@"FirstRun"];
            [[NSUserDefaults standardUserDefaults] synchronize];
        }
        
    }
    
    %end

    hope to receive your help soon. tks so much

×
  • 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