Jump to content

28 posts in this topic

Recommended Posts

Posted (edited)

Lol, this should work :

%hook SBIconController

-(void)iconTapped:(id)fp8{

%orig;

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡️I hope you enjoy ⚡️" delegate:self cancelButtonTitle:@"I will!" otherButtonTitles:@"I won't", nil];

[alert show];

}

%end

Im sorry if i'm making u furious ./.

 

https://postimg.org/image/87bxdf5rr/

Updated by Trend
  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Add this on top

#include <Foundation/Foundation.h>

Btw, do you have all the headers you need?

I think i have headers. Link me with it tho to make sure

Posted

I think i have headers. Link me with it tho to make sure

I don't have a link, I downloaded them manually one by one but I'm pretty sure you can find them on the forum

Posted

I have a feeling you're missing alot of things. You haven't read the tutorials properly and you're trying to copy the code from the guy in the video and haven't tried learning how to code first :/ that's not how you should start lol

-----

 

What does your makefile look like?

Posted

I have a feeling you're missing alot of things. You haven't read the tutorials properly and you're trying to copy the code from the guy in the video and haven't tried learning how to code first :/ that's not how you should start lol-----

What does your makefile look like?

 

 

 

ARCHS = armv7 arm64

 

include theos/makefiles/common.mk

 

TWEAK_NAME = tuttweak

tuttweak_FILES = Tweak.xm

tuttweak_FRAMEWORKS = UIkit

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

I have a feeling you're missing alot of things. You haven't read the tutorials properly and you're trying to copy the code from the guy in the video and haven't tried learning how to code first :/ that's not how you should start lol-----

What does your makefile look like?

 

I not just copying I'm trying to understand

Posted

ARCHS = armv7 arm64

include theos/makefiles/common.mk

TWEAK_NAME = tuttweak

tuttweak_FILES = Tweak.xm

tuttweak_FRAMEWORKS = UIkit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::

install.exec "killall -9 SpringBoard"

 

I not just copying I'm trying to understand

Remove #include <Foundation/Foundation.h> from your tweak.xm and add

 

#import <UIKit/UIKit.h> on top of your tweak.xm

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