This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust FinishedLaunching() structure
- Loading branch information
1 parent
dec0fe3
commit fc8fc6a
Showing
3 changed files
with
30 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using UIKit; | ||
using Foundation; | ||
|
||
namespace QuartzSample | ||
{ | ||
// The name AppDelegate is referenced in the MainWindow.xib file. | ||
public partial class AppDelegate : UIApplicationDelegate | ||
{ | ||
// This method is invoked when the application has loaded its UI and its ready to run | ||
public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) | ||
{ | ||
// If you have defined a view, add it here: | ||
// window.AddSubview (navigationController.View); | ||
|
||
navigationController.NavigationBar.BarStyle = UIBarStyle.Default; | ||
window.AddSubview (navigationController.View); | ||
|
||
window.MakeKeyAndVisible (); | ||
|
||
return true; | ||
} | ||
|
||
// This method is required in iPhoneOS 3.0 | ||
public override void OnActivated (UIApplication application) | ||
{ | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters