Jump to content

How to do SCLAlertView in a theos tweak like this?


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted

Hello im new in theos tweak creator and i download Kirb theos for create tweaks with more options , but i don't know how to do a AlertView like this :

 

successScreenshot.png

 

Is a SCLAlertView in swift and i see this in some tweaks and i would like to know how to implement this in my project (theos tweak)

 

Thanks.

 

(scuisme for my english because im writing this without any traductor)

Posted

It's inside the page of the alert. The instructions on how to implement it.

  • Solution
Posted (edited)

Thanks Dida but i don't know where is my Podfile in theos for install it

Ah, I guess I will make a tutorial soon on how to integrate this with theos.

 

@@extractor304

 


 

So first of all, you will need the headers from GitHub. Download them and add them in /theos/include/SCLAlertView/

 

Next, start a new project and then open your Makefile and add:

 

 

ARCHS = armv7 arm64

CFLAGS = -fobjc-arc # ARC is needed for SCLAlertView

include theos/makefiles/common.mk

TWEAK_NAME = YOURTWEAKNAMEHERE
YOURTWEAKNAMEHERE_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
YOURTWEAKNAMEHERE_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
YOURTWEAKNAMEHERE_LDFLAGS += -Wl,-segalign,4000

Then in your Tweak.xm:

#import <SCLAlertView/SCLAlertView.h> // Imports the popup headers.

%hook UnityAppController

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
    
    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting
              subTitle: @"Subtitle here"
      closeButtonTitle: @"Close button"
              duration: 0.0f];
		return %orig;
}
%end

Compile and it should work. :)

Updated by DiDA
Posted

Ah, I guess I will make a tutorial soon on how to integrate this with theos.

 

@@extractor304

 


 

So first of all, you will need the headers from GitHub. Download them and add them in /theos/include/SCLAlertView/

 

Next, start a new project and then open your Makefile and add:

 

 

ARCHS = armv7 arm64

CFLAGS = -fobjc-arc # ARC is needed for SCLAlertView

include theos/makefiles/common.mk

TWEAK_NAME = YOURTWEAKNAMEHERE
YOURTWEAKNAMEHERE_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
YOURTWEAKNAMEHERE_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
YOURTWEAKNAMEHERE_LDFLAGS += -Wl,-segalign,4000

Then in your Tweak.xm:

#import <SCLAlertView/SCLAlertView.h> // Imports the popup headers.

%hook UnityAppController

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
    
    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting
              subTitle: @"Subtitle here"
      closeButtonTitle: @"Close button"
              duration: 0.0f];
		return %orig;
}
%end

Compile and it should work. :)

Wow , thank you Dida you are awesome haha

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Card Train v1.1.1 [ +7 APK MOD ] Currency Max
      Mod APK Game Name: Card Train
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.kazrahann.cardtrain&ref

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 1 reply
    • Mini Soccer Star 2026 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2026 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      App Store Link: https://apps.apple.com/us/app/mini-soccer-star-2026/id1636072966?uo=4

       


      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - Unlimited Skip Tickets -> Earn or spend some.
      -- VIP
      -- No Ads
      • 213 replies
    • Card Train v1.1.1 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Card Train By Jinwoo Kim
      Bundle ID: com.kazrahann.cardtrain
      App Store Link: https://apps.apple.com/ph/app/card-train/id6773644764?uo=4

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 1 reply
    • Card Train v1.1.1 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Card Train By Jinwoo Kim
      Bundle ID: com.kazrahann.cardtrain
      App Store Link: https://apps.apple.com/ph/app/card-train/id6773644764?uo=4

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 0 replies
    • Search It - Hidden Objects v1.2.8 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Search It - Hidden Objects By LEAP BILISIM TEKNOLOJILERI VE YAZILIM TICARET ANONIM SIRKETI
      Bundle ID: com.leap.searchit
      App Store Link: https://apps.apple.com/us/app/search-it-hidden-objects/id6756185760?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Coins
      - Booster Freeze
      • 2 replies
    • Search It - Hidden Objects v1.2.8 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Search It - Hidden Objects By LEAP BILISIM TEKNOLOJILERI VE YAZILIM TICARET ANONIM SIRKETI
      Bundle ID: com.leap.searchit
      App Store Link: https://apps.apple.com/us/app/search-it-hidden-objects/id6756185760?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Coins
      - Booster Freeze
      • 1 reply
    • Pop Island: Match & Build v2.0.5 [ +1 APK MOD ] Currency Max
      Mod APK Game Name: Pop Island: Match & Build
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.hmbdgames.popisland&hl=en_ZA

      🤩 Hack Features

      - Unlimited Coins
      • 1 reply
    • Yarn Fever! Unravel Puzzle v16.7 [ +3 APK MOD ] Booster Max
      Mod APK Game Name: Yarn Fever! Unravel Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=puzzle.yarn.fever.unravel.puzzle&hl=en

      🤩 Hack Features

      - Unlimited Slots
      - Unlimited Booster
      - Lives / 0 Play Unlimited
      • 0 replies
    • Beauty Sort : Makeover Story v1.7.6 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Beauty Sort : Makeover Story
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.beauty.love.sort.match.stylist.story&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Booster
      - Unlimited Lives
      - Coins NO Need For Task
      • 0 replies
    • Olympush v0.0.12 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Olympush By Arcane Blast s.r.o.
      Bundle ID: com.ArcaneBlast.Olympush
      App Store Link: https://apps.apple.com/us/app/olympush/id6762312452?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Enough Parts / Upgrade Hero
      - Mana Freeze
      - Unlimited Trop Deploy / iGG Auto Touch Use / Always Win
      - AI Freeze
      • 1 reply
    • Olympush v0.0.12 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Olympush By Arcane Blast s.r.o.
      Bundle ID: com.ArcaneBlast.Olympush
      App Store Link: https://apps.apple.com/us/app/olympush/id6762312452?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Enough Parts / Upgrade Hero
      - Mana Freeze
      - Unlimited Trop Deploy / iGG Auto Touch Use / Always Win
      - AI Freeze
      • 1 reply
    • North War: Island Defense 3D v1.2.2 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: North War: Island Defense 3D
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bgg.island.battle&hl=en

       

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Currency
      - Unlimited Resources

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 2 replies
×
  • 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