Showing
2 changed files
with
30 additions
and
0 deletions
No preview for this file type
... | @@ -61,6 +61,36 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify"; | ... | @@ -61,6 +61,36 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify"; |
61 | // self.window.rootViewController = rootViewController; | 61 | // self.window.rootViewController = rootViewController; |
62 | // [self.window makeKeyAndVisible]; | 62 | // [self.window makeKeyAndVisible]; |
63 | 63 | ||
64 | + // ================== | ||
65 | + | ||
66 | + // UIViewController *controller = [[UIViewController alloc] init]; | ||
67 | + | ||
68 | + // UIView *myview = [[UIView alloc] initWithFrame:CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height)]; | ||
69 | + // [myview setBackgroundColor:[UIColor redColor]]; | ||
70 | + // [controller.view addSubview:myview]; | ||
71 | + // controller.view = myview; | ||
72 | + | ||
73 | +// UIWindow *modalWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; | ||
74 | +// modalWindow.rootViewController = [[UIViewController alloc] init]; | ||
75 | +//// modalWindow.windowLevel = UIWindowLevelNormal + 1; | ||
76 | +// [modalWindow makeKeyAndVisible]; | ||
77 | +// [modalWindow.rootViewController presentViewController:controller animated:YES completion:nil]; | ||
78 | + | ||
79 | +// UIViewController *topRootViewController = [UIApplication sharedApplication].keyWindow.rootViewController; | ||
80 | +// while (topRootViewController.presentedViewController) | ||
81 | +// { | ||
82 | +// topRootViewController = topRootViewController.presentedViewController; | ||
83 | +// } | ||
84 | +// | ||
85 | +// [topRootViewController presentViewController:controller animated:YES completion:nil]; | ||
86 | + | ||
87 | +// UIViewController *presenter = ((AppDelegate *)[[UIApplication sharedApplication] delegate]).window.rootViewController; | ||
88 | +// | ||
89 | +// [presenter presentViewController:controller animated:YES completion:nil]; | ||
90 | + | ||
91 | + // ================== | ||
92 | + | ||
93 | + | ||
64 | // date = [NSDate date]; | 94 | // date = [NSDate date]; |
65 | // if ([CMPedometer isStepCountingAvailable]) { | 95 | // if ([CMPedometer isStepCountingAvailable]) { |
66 | // pedometer = [[CMPedometer alloc] init]; | 96 | // pedometer = [[CMPedometer alloc] init]; | ... | ... |
-
Please register or login to post a comment