Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-10-19 18:18:39 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bac84e71c67a2d97a8d019c0b95f3c9c516006ae
bac84e71
1 parent
6f570d52
test code for push notifications 3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
bac84e7
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
View file @
bac84e7
...
...
@@ -61,6 +61,36 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
// self.window.rootViewController = rootViewController;
// [self.window makeKeyAndVisible];
// ==================
// UIViewController *controller = [[UIViewController alloc] init];
// UIView *myview = [[UIView alloc] initWithFrame:CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height)];
// [myview setBackgroundColor:[UIColor redColor]];
// [controller.view addSubview:myview];
// controller.view = myview;
// UIWindow *modalWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
// modalWindow.rootViewController = [[UIViewController alloc] init];
//// modalWindow.windowLevel = UIWindowLevelNormal + 1;
// [modalWindow makeKeyAndVisible];
// [modalWindow.rootViewController presentViewController:controller animated:YES completion:nil];
// UIViewController *topRootViewController = [UIApplication sharedApplication].keyWindow.rootViewController;
// while (topRootViewController.presentedViewController)
// {
// topRootViewController = topRootViewController.presentedViewController;
// }
//
// [topRootViewController presentViewController:controller animated:YES completion:nil];
// UIViewController *presenter = ((AppDelegate *)[[UIApplication sharedApplication] delegate]).window.rootViewController;
//
// [presenter presentViewController:controller animated:YES completion:nil];
// ==================
// date = [NSDate date];
// if ([CMPedometer isStepCountingAvailable]) {
// pedometer = [[CMPedometer alloc] init];
...
...
Please
register
or
login
to post a comment