Blazor Hybrid / .NET MAUI support
This commit is contained in:
		
							
								
								
									
										9
									
								
								Oqtane.Maui/Platforms/iOS/AppDelegate.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Oqtane.Maui/Platforms/iOS/AppDelegate.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| using Foundation; | ||||
|  | ||||
| namespace Oqtane.Maui; | ||||
|  | ||||
| [Register("AppDelegate")] | ||||
| public class AppDelegate : MauiUIApplicationDelegate | ||||
| { | ||||
| 	protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||||
| } | ||||
							
								
								
									
										32
									
								
								Oqtane.Maui/Platforms/iOS/Info.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								Oqtane.Maui/Platforms/iOS/Info.plist
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,32 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||||
| <plist version="1.0"> | ||||
| <dict> | ||||
| 	<key>LSRequiresIPhoneOS</key> | ||||
| 	<true/> | ||||
| 	<key>UIDeviceFamily</key> | ||||
| 	<array> | ||||
| 		<integer>1</integer> | ||||
| 		<integer>2</integer> | ||||
| 	</array> | ||||
| 	<key>UIRequiredDeviceCapabilities</key> | ||||
| 	<array> | ||||
| 		<string>arm64</string> | ||||
| 	</array> | ||||
| 	<key>UISupportedInterfaceOrientations</key> | ||||
| 	<array> | ||||
| 		<string>UIInterfaceOrientationPortrait</string> | ||||
| 		<string>UIInterfaceOrientationLandscapeLeft</string> | ||||
| 		<string>UIInterfaceOrientationLandscapeRight</string> | ||||
| 	</array> | ||||
| 	<key>UISupportedInterfaceOrientations~ipad</key> | ||||
| 	<array> | ||||
| 		<string>UIInterfaceOrientationPortrait</string> | ||||
| 		<string>UIInterfaceOrientationPortraitUpsideDown</string> | ||||
| 		<string>UIInterfaceOrientationLandscapeLeft</string> | ||||
| 		<string>UIInterfaceOrientationLandscapeRight</string> | ||||
| 	</array> | ||||
| 	<key>XSAppIconAssets</key> | ||||
| 	<string>Assets.xcassets/appicon.appiconset</string> | ||||
| </dict> | ||||
| </plist> | ||||
							
								
								
									
										15
									
								
								Oqtane.Maui/Platforms/iOS/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Oqtane.Maui/Platforms/iOS/Program.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | ||||
| using ObjCRuntime; | ||||
| using UIKit; | ||||
|  | ||||
| namespace Oqtane.Maui; | ||||
|  | ||||
| public class Program | ||||
| { | ||||
| 	// This is the main entry point of the application. | ||||
| 	static void Main(string[] args) | ||||
| 	{ | ||||
| 		// if you want to use a different Application Delegate class from "AppDelegate" | ||||
| 		// you can specify it here. | ||||
| 		UIApplication.Main(args, null, typeof(AppDelegate)); | ||||
| 	} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker