Skip to content
Guest Big Announcement

I cant get url link and repsring to work

Featured Replies


Can someone help add theso to this

 

#import <Preferences/Preferences.h>

 

@interface SAS 4PatcherListController: PSListController {

}

@end

 

@implementation SAS 4PatcherListController

- (id)specifiers {

if(_specifiers == nil) {

_specifiers = [[self loadSpecifiersFromPlistName:@"SAS 4Patcher" target:self] retain];

}

return _specifiers;

}

-(void)link {

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iOSGods.com"]];

}

 

-(void)respring {

system("killall -9 SpringBoard");

}

 

@

 

// vim:ft=objc

 

 

Updated by illusion

Solved by castix

  • Solution

use this

#import <Preferences/Preferences.h>

@interface "SAS 4Patcher"ListController: PSListController {
}
@end

@implementation "SAS 4Patcher"ListController
- (id)specifiers {
    if(_specifiers == nil) {
        _specifiers = [[self loadSpecifiersFromPlistName:@"SAS 4Patcher" target:self] retain];
    }
    return _specifiers;
}

- (void)respring {
         system("killall -9 SpringBoard");
}

- (void)link {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iOSGods.com"]];
}

@end

// vim:ft=objc

 

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.