X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/1d3b613ff73deb265588b0bf4a393ce1e6a98963..2d788a8c0ec6ab9e3392e772f61a66f8d6ff689c:/Application.mm diff --git a/Application.mm b/Application.mm index aa4397f..4bfef61 100644 --- a/Application.mm +++ b/Application.mm @@ -39,6 +39,8 @@ #import #import +#include + #import #import #import @@ -168,7 +170,7 @@ static Class $WBSettingsController; $WBSettingsController = [wbSettingsBundle principalClass]; CGRect applicationFrame(([UIDevice instancesRespondToSelector:@selector(isWildcat)] - && [[UIDevice currentDevice] isWildcat]) + && [[UIDevice currentDevice] isWildcat]) || objc_getClass("UIStatusBar") != nil ? [UIScreen mainScreen].bounds : [UIScreen mainScreen].applicationFrame); UIWindow *window([[UIWindow alloc] initWithFrame:applicationFrame]);