Created
May 7, 2022 05:25
-
-
Save ichitaso/935100fd53a26f18a9060f7195a1be0e to your computer and use it in GitHub Desktop.
Change the color of the predictive part of the keyboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG = 0 | |
FINALPACKAGE = 1 | |
THEOS_DEVICE_IP = 192.168.0.15 | |
TARGET = iphone:14.5:13.0 | |
ARCHS = arm64 arm64e | |
export PREFIX = $(THEOS)/toolchain/Xcode11.xctoolchain/usr/bin/ | |
INSTALL_TARGET_PROCESSES = SpringBoard | |
include $(THEOS)/makefiles/common.mk | |
TWEAK_NAME = test | |
$(TWEAK_NAME)_FILES = Tweak.x | |
$(TWEAK_NAME)_CFLAGS = -fobjc-arc | |
include $(THEOS_MAKE_PATH)/tweak.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ Filter = { Bundles = ( "com.apple.UIKit" ); }; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <UIKit/UIKit.h> | |
@interface UIPredictionViewController : UIViewController | |
@end | |
@interface UICandidateViewController : UIViewController | |
@end | |
%hook UIPredictionViewController | |
- (void)loadView { | |
%orig; | |
[self.view setBackgroundColor:[UIColor blackColor]]; | |
} | |
%end | |
// AppStore Apps | |
%hook UICandidateViewController | |
- (void)loadView { | |
%orig; | |
[self.view setBackgroundColor:[UIColor blackColor]]; | |
} | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment