Skip to content
Guest Big Announcement

Theos error: "import" unknown type

Featured Replies

import <UIKit/UIKit.h>

%hook LikeTaskDB

 

- (BOOL)canLikeWithTime:(double)fp8 {

return true(9999);

}

%end

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Swag hack" message:@"Hacked by mehdi visit more at ios gods.com" delegate:nil cancelButtonTitle:@"Thanx" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

This is my tweak.xml but when i want to compile it tells me that he doesnt know "import"unknown type :(

Solved by Rook

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.