#import <Preferences/PSRootController.h>
#import <Preferences/PSViewController.h>
#import <Preferences/PSListController.h>
#import <Preferences/PSRootController.h>
#import <Preferences/PSViewController.h>
#import <Preferences/PSListController.h>
// Pop the last controller = exit the application.
// The only time the last controller should pop is when the user taps Respring/Cancel.
// Which only gets displayed if the user has made changes.
if ([self topViewController] == _rootListController)
[[UIApplication sharedApplication] terminateWithSuccess];
// Pop the last controller = exit the application.
// The only time the last controller should pop is when the user taps Respring/Cancel.
// Which only gets displayed if the user has made changes.
if ([self topViewController] == _rootListController)
[[UIApplication sharedApplication] terminateWithSuccess];
$WBSettingsController = [wbSettingsBundle principalClass];
CGRect applicationFrame(([UIDevice instancesRespondToSelector:@selector(isWildcat)]
$WBSettingsController = [wbSettingsBundle principalClass];
CGRect applicationFrame(([UIDevice instancesRespondToSelector:@selector(isWildcat)]
? [UIScreen mainScreen].bounds
: [UIScreen mainScreen].applicationFrame);
UIWindow *window([[UIWindow alloc] initWithFrame:applicationFrame]);
? [UIScreen mainScreen].bounds
: [UIScreen mainScreen].applicationFrame);
UIWindow *window([[UIWindow alloc] initWithFrame:applicationFrame]);