Updated iOS app for iOS 8 SDK
This commit is contained in:
@ -534,6 +534,7 @@
|
|||||||
"-Wno-padded",
|
"-Wno-padded",
|
||||||
"-Wno-documentation",
|
"-Wno-documentation",
|
||||||
"-Wno-documentation-unknown-command",
|
"-Wno-documentation-unknown-command",
|
||||||
|
"-Wno-objc-missing-property-synthesis",
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
|
|||||||
@ -30,15 +30,12 @@
|
|||||||
|
|
||||||
@interface AppDelegate () <GCDWebUploaderDelegate> {
|
@interface AppDelegate () <GCDWebUploaderDelegate> {
|
||||||
@private
|
@private
|
||||||
UIWindow* _window;
|
|
||||||
GCDWebUploader* _webServer;
|
GCDWebUploader* _webServer;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation AppDelegate
|
@implementation AppDelegate
|
||||||
|
|
||||||
@synthesize window=_window;
|
|
||||||
|
|
||||||
#if !__has_feature(objc_arc)
|
#if !__has_feature(objc_arc)
|
||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
@ -50,7 +47,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
|
- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
|
||||||
_window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
CGRect bounds = ([UIScreen instancesRespondToSelector:@selector(nativeBounds)] ? [[UIScreen mainScreen] nativeBounds] : [[UIScreen mainScreen] bounds]);
|
||||||
|
_window = [[UIWindow alloc] initWithFrame:bounds];
|
||||||
_window.backgroundColor = [UIColor whiteColor];
|
_window.backgroundColor = [UIColor whiteColor];
|
||||||
[_window makeKeyAndVisible];
|
[_window makeKeyAndVisible];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user