| | |
| | | |
| | | public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) |
| | | { |
| | | //base.FinishedLaunching(application, launchOptions); |
| | | base.FinishedLaunching(application, launchOptions); |
| | | Shared.Application.FontSize = 12; |
| | | Window = new UIWindow(UIScreen.MainScreen.Bounds); |
| | | rootViewController = new UINavigationController(new GateWay.Ios.MainViewController()) { NavigationBarHidden = true }; |
| | |
| | | { |
| | | Shared.Common.Config.Instance.RegistrationID = deviceToken; |
| | | }; |
| | | |
| | | haveToSignOut = false; |
| | | if (launchOptions != null) |
| | | { |
| | |
| | | public override void OnResignActivation(UIApplication application) |
| | | { |
| | | // Invoked when the application is about to move from active to inactive state. |
| | | // This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) |
| | | // This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) |
| | | // or when the user quits the application and it begins the transition to the background state. |
| | | // Games should use this method to pause the game. |
| | | base.OnResignActivation(application); |
| | |
| | | |
| | | public override void OnActivated(UIApplication application) |
| | | { |
| | | // Restart any tasks that were paused (or not yet started) while the application was inactive. |
| | | // Restart any tasks that were paused (or not yet started) while the application was inactive. |
| | | // If the application was previously in the background, optionally refresh the user interface. |
| | | base.OnActivated(application); |
| | | |
| | |
| | | return resultBytes; |
| | | } |
| | | } |
| | | } |
| | | } |